-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
kubespray should stop using the wording "master" #11353
Comments
/help |
@tico88612: 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-sigs/prow repository. |
Indeed at least this occurrence was forgotten
|
Some documents are still written https://kubespray.io/#/docs/CNI/kube-router?id=verifying-kube-router-install |
how should we help with this? Shall we check the codes contain the master and fix it? |
Thanks @neolit123 The kubespray needs to fix it . :-) |
I’d like to work on this if nobody started it already. However, I have a few questions after having reviewed the current state of the repository regarding usages of the
For (1), should we keep the tag as-is? Add a new For (2), most of the comments mentioning the backward compatibility bit are from around 3 years ago, so I guess it would be safe to completely remove them (and effectively breaking backward compatibility, but since it’s been years, it shouldn’t bother anyone). For (3), I think this is the most dangerous part about this tree-wide renaming since it touches directly to how Kubespray is configured. My thoughts are to add new IMO this issue should be addressed by several PRs:
|
Since I seem to have triggered this (with the kubespray issue ), I would like to help. As @nicolas-goudry pointed out, this is not a trivial task, since it touches many kubespray internals - at a quick search, there are 1486 references to "master" in 331 files across the project. And after performing the search, I actually came here to say something similar - while some of the search results are not relevant (references to As for the documentation, I believe that needs to be done at the same time as the changes in the code. It will already be confusing if we have two sets of variables doing the same thing ( [ Edited to add a quick note regarding item 4: the usage of
] |
I started on the "low hanging fruit" (descriptions, comments, task names, etc) here . I am not touching any "sensitive" stuff (like variable names) yet. A couple more things I noticed while going through the files:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This has been discussed at length, in the kubernetes project as well as elsewhere. Please refrain from discussing the why any further, this is about the how. |
@bogd Thank you for taking the time to looking at it. |
@ant31 - Thank you for the suggestion! I was looking for a way to get input from the team while working on this, and this seems like the best way to proceed. Opened WIP PR #11394 . Looking forward to guidance on the more... "troublesome" steps of the process (see previous comments for some examples). |
/assign |
This comment was marked as off-topic.
This comment was marked as off-topic.
Agree with you |
What would you like to be added
a few years back the Kubernetes projected created a working group called "WG naming" backed by CNCF members which established that words like "master" are offensive in Kubernetes. the whole documentation at k8s.io. was revamped, a number areas of kubernetes/kubernetes were changed, kubeadm and other SIG Cluster Lifecycle subprojects changed too.
there was a kubeadm master -> control plane taint migration if you recall.
as much as i like kubepray, it seems that often it ends up on a bit of an island, where it seems isolated from what's going on in the top level SIG and the K8s ecosystem. i was recently pinged on this issue #11350 where i saw kubespray logs such as "Upgrade first master...".
https://github.com/search?q=repo%3Akubernetes-sigs%2Fkubespray+master&type=code
kubespray should stop using the wording "master" and you can execute on this action in a few steps:
please let me know if you have any questions.
/priority important-longterm
Why is this needed
compliance with the rest of the Kubernetes project
The text was updated successfully, but these errors were encountered: