Skip to content

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

Open
mcbenjemaa wants to merge 1 commit into
mainfrom
availability-zones
Open

Add Support to manually distribute CP machines in different zones with AvailabilityZones field#244
mcbenjemaa wants to merge 1 commit into
mainfrom
availability-zones

Conversation

@mcbenjemaa

@mcbenjemaa mcbenjemaa commented Dec 17, 2024

Copy link
Copy Markdown
Member

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

@sonarqubecloud

Copy link
Copy Markdown

@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