-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
✨ Master -> Control Plane #298
✨ Master -> Control Plane #298
Conversation
Related to kubernetes-sigs/cluster-api#688 |
Here's what I propose:
|
Also, please add a change type indicator to the PR title (see the PR template and README.md for more details). (P.S. No need to use |
Thanks for the feedback @DirectXMan12. I’ll try to hunt down the decision, I came here from the cluster api issue referenced. If I can’t find enough information I am ok to close this. I should probably have done more research around the decision beforehand, I didn’t expect it to cause trouble, apologies! |
/cc @neolit123 |
dd7c7d8
to
f16c570
Compare
👍 for |
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 actually track down where the decision was made, to avoid any future drama? The meeting docs seemed to imply "we punted on this decision", and the thread was closed as too contentious. Since this issue tends to cause "commotion" (to put it lightly), having concrete documentation of a decision could be useful to avoid drama in the future.
i'd argue that there is no drama, but rather this has been a soft transition for the project.
kubeadm has already phased away from "master" in both code base and docs (mostly) over the course of an year.
community meeting announcement by Joe Beda is from Feb 1st 2018:
https://github.com/kubernetes/community/blob/master/communication/meeting-notes-archive/q1-2_2018_community_meeting_minutes.md#february-1-2018---recording
VOD timestamp:
https://youtu.be/Oj-0l7vdUac?t=2974
If we're going to rename, we should be accurate and thorough in doing so. Half of your renames ("API server --> control plane") have made the comments less accurate. This is an API server URL (as the comments imply), and we should reference it as such.
this flag, if not redundant, seems like it should be the API Server URL, indeed.
but i'm mostly leaning towards redundant.
as outlined in the above announcement, "control plane" encapsulates a composite meaning. if we are targeting an individual component, we should do so in docs and flags for clarity.
No worries :-) Sorry if my message above came off a bit harsh.
Yeah, it's been pretty smooth, AFAICT, after that initial thread. Wanted the reference to point to just in case (that thread linked got a bit nasty, and having a "this has already been decided here, this is not the place to discuss" button is nice to have around).
Perfect, thanks!
Yeah, I'm leaning towards just marking as deprecated (so as not to break people, but it'll hide it in help, etc).
👍 (more or less what I was saying above, I think) |
d9c16b1
to
b194e87
Compare
@DirectXMan12 @neolit123 Updated the PR with the latest comment, the flag is marked as deprecated both in code and description suggesting users to switch to --kubeconfig |
b194e87
to
641c42b
Compare
pkg/client/config/config.go
Outdated
@@ -29,21 +29,22 @@ import ( | |||
) | |||
|
|||
var ( | |||
kubeconfig, masterURL string | |||
log = logf.RuntimeLog.WithName("client").WithName("config") | |||
kubeconfig, controlPlaneURL string |
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.
switch to apiServerAddress
as the variable name for the deprecation period?
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.
I'm fine either way, @DirectXMan12 ?
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, use apiServerURL
as the variable name sot that we're clear.
Is CI broken? I tested locally on master and it also shows the same failures. |
I think it was fixed in a recent PR. Rebase on master and it should be fixed. |
Signed-off-by: Vince Prignano <vincepri@vmware.com>
641c42b
to
6cdc349
Compare
Rebased and updated the PR with the variable name change as suggested above. |
/lgtm (changed to |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DirectXMan12, vincepri 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 |
Renames master to controlplane as discussed in the Jan 31st steering meeting
Related: kubernetes/website#6525