-
Notifications
You must be signed in to change notification settings - Fork 288
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 control plane failure domains feature for Nutanix provider #8192
Conversation
Hi @adiantum. Thanks for your PR. I'm waiting for a aws member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8192 +/- ##
==========================================
+ Coverage 73.37% 73.42% +0.04%
==========================================
Files 578 578
Lines 35995 36054 +59
==========================================
+ Hits 26413 26473 +60
+ Misses 7907 7904 -3
- Partials 1675 1677 +2 ☔ View full report in Codecov by Sentry. |
UUID: fd.Cluster.UUID, | ||
}, | ||
Subnets: subnets, | ||
ControlPlane: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be fd.ControlPlane or are we expecting controlPlane to be always be using all FDs? also can we add a documentation when we are hardcoding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah what does ControlPlane: true
signify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ControlPlane: true means the failure domain will be used for control plane VMs and etcd VMs. Th requested feature is to spread Control Plane VMs across several PE's so we're setting CAPX ControlPlane option to true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also try out a testcase where you dont have failure domain at cluster creation time and then add it in upgrade?
UUID: fd.Cluster.UUID, | ||
}, | ||
Subnets: subnets, | ||
ControlPlane: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah what does ControlPlane: true
signify?
- change Nutanix Datacenter CRD - change templates - generate manifests - add unittest
- add validation - fix template - add unittest for validation
Current implementation in CAPX doesn't support this case. In current implementation we're allowing to use FDs for new clusters. These limitations will be improved in future. |
After discussion with @abhinavmpandey08 we're allowing to update failure domains but we should mention in docs that rollout should be triggered separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavmpandey08 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of changes:
Add control plane failure domains feature for Nutanix provider
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.