Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ControlPlane master pool ignores configured zones #1290

Closed
abutcher opened this issue Feb 21, 2019 · 4 comments
Closed

ControlPlane master pool ignores configured zones #1290

abutcher opened this issue Feb 21, 2019 · 4 comments

Comments

@abutcher
Copy link
Member

Version

$ openshift-install version
./bin/openshift-install v0.9.0-master-358-g7fec739ee1ffbeda02789fece6a4feb0484fc69c

Platform:

AWS

What happened?

Using the following within install-config, which configures zones for masters and workers as us-east-1d, us-east-1e, and us-east-1f results in master instances being created in the first X=replicas availability zones in a region (us-east-1a, us-east-1b, us-east-1c) regardless of which zones are configured.

compute:
- name: worker
  platform:
    aws:
      zones:
      - us-east-1d
      - us-east-1e
      - us-east-1f
  replicas: 3
controlPlane:
  name: master
  platform:
    aws:
      zones:
      - us-east-1d
      - us-east-1e
      - us-east-1f
  replicas: 3

Workers on the other hand will be created in the configured zones.

What you expected to happen?

Configured zones are used for the master pool.

Anything else we need to know?

Another question I have is if configured zones were used for masters, would it be possible or desirable to allow creating masters within a single availability zone or would there be some sort of protection/error from the installer in order to ensure that masters have some high availability being spread across availability zones.

References

@staebler
Copy link
Contributor

This is fixed by #1121.

@staebler
Copy link
Contributor

Another question I have is if configured zones were used for masters, would it be possible or desirable to allow creating masters within a single availability zone or would there be some sort of protection/error from the installer in order to ensure that masters have some high availability being spread across availability zones.

There is nothing in the installer that prevents placing multiple masters in a single availability zone. The installation will succeed even when placing multiple masters in a zone.

@wking
Copy link
Member

wking commented Feb 28, 2019

#1121 landed.

/close

@openshift-ci-robot
Copy link
Contributor

@wking: Closing this issue.

In response to this:

#1121 landed.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants