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

Add Support to manually distribute CP machines in different zones with AvailabilityZones field #244

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcbenjemaa
Copy link
Member

@mcbenjemaa mcbenjemaa commented Dec 17, 2024

Summary.

IONOS Cloud can set the availability zone to AUTO, but that doesn't mean it will distribute the machine equally.
For that reason, we need another way of setting zones of the CP machines.

Details

This PR adds:

  • AvailabilityZones field to the IONOSCloudMachine Spec, mutually exclusive to AvailabilityZone
    • If AvailabilityZone is already set, it will be used.
    • If both are set, AvailabilityZone always takes precedence.
    • It will use AvailabilityZone: AUTO if nothing is set.
    • If only AvailabilityZones is set, it will round-robin the list into cp machines.

Closes #227

Copy link

sonarcloud bot commented Dec 17, 2024

@mcbenjemaa mcbenjemaa changed the title Add Support to manually distrubte CP machines in different zones with AvailabilityZones field Add Support to manually distribute CP machines in different zones with AvailabilityZones field Dec 17, 2024
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

Successfully merging this pull request may close these issues.

Make sure control-planes are distributed to different ZONES
1 participant