Skip to content

how to set up aws instances: instanceType and deviceMapping? #671

Description

@hongkailiu

Version

$ ./bin/openshift-install version
./bin/openshift-install v0.3.0-208-g54b49cdf0fb6d1150c7a9d4102e2b785d5a0344d
Terraform v0.11.8

Your version of Terraform is out of date! The latest version
is 0.11.10. You can update by downloading from www.terraform.io/downloads.html

Platform (aws|libvirt|openstack):

aws

What happened?

I would like to know how to set up the instance type and device mapping

$ bin/openshift-install create manifests
$ vi ./tectonic/99_openshift-cluster-api_master-machines.yaml
...
        instanceType: m5.xlarge

$ bin/openshift-install create cluster --log-level=debug
  1. the modification on instanceType did not have impact. The created instances are still with the default t2.medium
  2. need a way to set up device mapping
$ oc version
oc v4.0.0-alpha.0+a148deb-572
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://hongkliu-api.devcluster.openshift.com:6443
kubernetes v1.11.0+d4cacc0

$ oc explain machine
error: Couldn't find resource for "cluster.k8s.io/v1alpha1, Kind=Machine"

What you expected to happen?

Would like to see how to set those properties up for aws instances.

How to reproduce it (as minimally and precisely as possible)?

See above.

$ your-commands-here

Anything else we need to know?

This is more of questions instead of bug/issue report.
Would like to know how to do things with installer.

References

  • enter text here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions