-
Notifications
You must be signed in to change notification settings - Fork 137
Expand CloudConfig for GCE #528
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
Conversation
| "local-zone = \"my-zone\"\n", | ||
| "local-zone = \"my-zone\"\n" + | ||
| "multizone = true\n" + | ||
| "regional = true\n", |
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.
Do we need both of these? What's the difference between multi-zone and regional?
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.
What's the difference between multi-zone and regional?
Referring to the docs:
- multizone clusters: "A multi-zone cluster runs nodes in multiple zones within the same region. All nodes in a single-zone or multi-zone cluster are controlled by the same cluster master.
- regional clusters: "Regional clusters distribute Kubernetes resources across multiple zones within a region. Regional cluster create three cluster masters across three zones and, by default, create nodes in three zones, or in as many zones as desired."
Do we need both of these?
And from the code in Kubernetes, if either multizone or regional is enabled, managedZones uses all zones. Multizone is mainly used only for this purpose, but regional is used a config for the gce instance interface.
I think we can remove multizone...but I'd like more eyes on this for confirming.
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.
Actually thinking about it, adding the option to the config struct wont harm, even if we end up not using it
/lgtm
/approve
|
LGTM label has been added. Git tree hash: af43930771d08c6b00cf6cf98195ff03b099d10e
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman 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 |
Ref: kubermatic/kubermatic#3350 (comment)
/cc @alvaroaleman @themue
/assign @alvaroaleman