-
Notifications
You must be signed in to change notification settings - Fork 260
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
✨ Allow clusters without explicit availability zones #1253
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Hi @mkjpryor. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mkjpryor The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Turns out it was basically as easy as I thought. This works like a dream for me. Can I get an |
/ok-to-test |
Co-authored-by: ji chen <[email protected]>
/retest |
I added some docs for the new option - can you review and suggest changes if required? |
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.
It might be an idea to merge the workers part of this fix separately. It's self-contained and very simple.
For the control plane, I worry that options like IgnoreFoo are at risk of polluting the API. I don't yet have a better suggestion, but I would like to fully consider options before adding to the API. I'm very much in favour of the effect of the change, btw, and not necessarily against the proposed API, but I'd like to think it all the way through first.
I have 2 threads of thoughts:
-
We're working round behaviour which is defined by CAPI. We should discuss this with CAPI before making an API change in case they have any better ideas/imminent plans.
-
We should write down the various ways Failure Domains might be implemented in an OpenStack cloud which are not AZ. What would an API look like which explicitly represented a failure domain in each of these models? Would it be compatible with CAPI? If not, what changes could we make to CAPI to represent more failure domain models?
On that second point, I have in mind something like:
failureDomainModel: (AvailabilityZone|ServerGroup|None)
instead of IgnoreFailureDomain. This is barely a half-baked thought so read nothing into the detail of it, but the critical difference is that it defines what it is rather than what it is not.
Happy to do this.
I'm not actually sure that we are. The However I don't disagree with your comment that there might be a better approach.
This could actually work quite well - the only other thing I can think of is host aggregates. I guess for my specific case I would use
What do you think? |
And I guess |
@mkjpryor: PR needs rebase. 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. |
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 |
/remove-lifecycle stale |
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 |
The Kubernetes project currently lacks enough active 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 rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. 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. |
What this PR does / why we need it:
This PR adds the ability to create clusters without explicitly setting availability zones. The use case is discussed in detail in #1252.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1252
Special notes for your reviewer:
Adds an additional, backwards-compatible flag to the OpenStack cluster spec.
TODOs:
/hold