-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use the cluster name in cluster.yaml in admin.conf #49
Comments
From @karan on March 6, 2018 17:36 cc @jessicaochen @rsdcastro - If no objections, I can start to look into this. |
It does make sense to me. |
From @karan on March 6, 2018 17:54 Seems like the cluster name is hardcoded in kubeadm: There's been a PR to make it configurable, but it's been stale: kubernetes/kubernetes#52470 |
Perhaps we can work on a new PR that focus on the cluster name to avoid the contention on the other point (user admins)? |
From @jessicaochen on March 6, 2018 18:9 I may be wrong but I think it is just the name in the kubeconfig file to reference the cluster. If you change the name in the kubeconfig file or set a new one with the name your want (https://kubernetes-v1-4.github.io/docs/user-guide/kubectl/kubectl_config_set-cluster/), you can still address the same cluster. In that way, it really does not matter what kubeadm happens to dump as the cluster name on the master. |
From @karan on March 6, 2018 18:15 You are right @jessicaochen. I tried this with |
From @jessicaochen on March 6, 2018 18:19 I guess it depends on how important urgent this change is. Whether we want to wait for kubeadm to do it or we want an interim solution. |
From @karan on March 6, 2018 22:18 /label cluster-api |
Cluster name is a provider specific implementation. /close |
@roberthbailey: Closing this issue. 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. |
From @karan on March 6, 2018 17:29
Currently the cluster config is created with cluster name as
kubernetes
. There is a cluster name in thecluster.yaml
metadata.name
. We should start using that name for the cluster so tools can be made to target any cluster in kubeconfig file.Copied from original issue: kubernetes-retired/kube-deploy#636
The text was updated successfully, but these errors were encountered: