You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I just read part of your blog post "Letter to Santa Kube" and saw your complaint about the kubeadm bootstrap token.
You can easily list all kubeadm tokens by running kubeadm token list.
Or even better you can generate the token ahead of time before initializing by using kubeadm token generate then passing that to init via kubeadm init --token ${token_here}
The text was updated successfully, but these errors were encountered:
Hi! Thanks a lot for the feedback. Unfortunately, kubeadm token list gives a formatted output; so to retrieve the token I have to add a bit of processing (e.g. with grep or awk or similar commands). It's not a big deal but I don't like to parse "human-readable" output, because it might change from one version to another. That's why I like the docker swarm join-token -q command: it will output the token, just the token, without anything else.
However, you're totally right, kubeadm token generate looks like it's waaaay simpler than my current hack :-)
Hey, I just read part of your blog post "Letter to Santa Kube" and saw your complaint about the kubeadm bootstrap token.
You can easily list all kubeadm tokens by running
kubeadm token list
.Or even better you can generate the token ahead of time before initializing by using
kubeadm token generate
then passing that to init viakubeadm init --token ${token_here}
The text was updated successfully, but these errors were encountered: