-
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
docs/dev/libvirt-howto: Masters lack the admin kubeconfig #585
docs/dev/libvirt-howto: Masters lack the admin kubeconfig #585
Conversation
i want to drop this section of use the kubeconfig on nodes. Why do we need this? |
The docs I'm adjusting here are originally from 04266e2 (#93). As @cgwalters mentions there, the "SSH and then run this" approach is useful when you cannot resolve masters over DNS (so the URI in the |
can we ask users to always scp their local kubeconfig and use that. so that you scp it any node and run with it. |
Or at least, it's in what looks like an unreliable location ;). Here's my local kubeconfig: $ sha1sum wking/auth/kubeconfig dd7f1796fe5aed9b0f453498e60bfea9c6a56586 wking/auth/kubeconfig And here's looking on master: [core@wking-master-0 ~]$ sudo find / -xdev -name 'kubeconfig*' -exec sha1sum {} \+ 2>/dev/null aa7e5544c36f2b070c33cbbea12102d64bc52928 /sysroot/ostree/deploy/rhcos/var/lib/kubelet/kubeconfig aa7e5544c36f2b070c33cbbea12102d64bc52928 /var/lib/kubelet/kubeconfig 227e8aa1c09c7b5f8602a5528077f3bd34b8544e /etc/kubernetes/kubeconfig dd7f1796fe5aed9b0f453498e60bfea9c6a56586 /etc/kubernetes/checkpoint-secrets/kube-system/pod-checkpointer-5crhb/controller-manager-kubeconfig/kubeconfig [core@wking-master-0 ~]$ grep 'user: ' /etc/kubernetes/kubeconfig user: kubelet Reaching into checkpoint-secrets is probably not what we want to recommend, so instead I'm suggesting folks just copy their kubeconfig over from their local host. I'd originally left the boostrap suggestion alone, but now I'm recommending scp for that as well, because: 1. Having only one way is less to think about. 2. With [1], the bootstrap node is becoming a fairly short-lived thing, so it's not worth spending much time talking about access to it. 3. Abhinav asked for it [2] ;). [1]: openshift#579 [2]: openshift#585 (comment)
9efc2e0
to
23ca6a1
Compare
Done with 9efc2e0 -> 23ca6a1. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, wking 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 |
Or at least, it's in what looks like an unreliable location ;). Here's my local
kubeconfig
:And here's looking on master:
Reaching into
checkpoint-secrets
is probably not what we want to recommend, so I'm suggesting folks just copy theirkubeconfig
over from their local host.CC @alejovicu