-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Topology should validate failureDomain before creating MachineDeployments #5859
Comments
I think if the failureDomain is set in MachineDeploymentTopology we should only create a MD when we can validate if the failureDomain is valid (i.e. if it's one of the failureDomains in the Cluster). Otherwise the machines might get created first in the wrong failure domain and then re-created once the Cluster contains the list of failureDomains. Potentially related question: The failureDomain is and should be mutable, right? |
Yes, users can decide to move all machines in a MD to a different AZ and trigger a rollout
+1 |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
/triage accepted |
moving out of the milestone because not staffed yet, but nice to have the soon as possible |
@fabriziopandini: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
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. |
/priority important-longterm |
User Story
As a user, I would like to have validation on
failureDomain
value selected for my MachineDeploymentsDetailed Description
This is a follow up of #5850 (comment)
#5850 introduced the possibility to spread MachineDeployments across failureDomains, however, on creation it is not possible to validate the selected
failureDomain
matches one of the available failureDomains, given that they are derived from the InfrastructureCluster after Cluster creation.So this issue is about discussing options to ensure that a MachineDeployment gets created only if the corresponding
failureDomain
exists.Option 1. We should wait to create a MachineDeployment until available failureDomains are reported on the
Cluster.Status
, providing evidence of this in the TopologyReconciled conditions. If the requiredfailureDomain
does not match any available failureDomains, this is a reconcile error.Option 2. If the available failureDomains are reported on the
Cluster.Status
, we should validatefailureDomain
for new MachineDeployments/edited MachineDeployments upfront.Option 1 and 2 are not exclusive
/kind feature
/area topology
/milestone v1.1
The text was updated successfully, but these errors were encountered: