website/content/en/docs/reference/setup-tools/kubeadm/kubeadm-token.md

1.0 KiB

reviewers title content_type weight
luxas
jbeda
kubeadm token concept 70

Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node, as described in authenticating with bootstrap tokens.

kubeadm init creates an initial token with a 24-hour TTL. The following commands allow you to manage such a token and also to create and manage new ones.

kubeadm token create

{{< include "generated/kubeadm_token_create.md" >}}

kubeadm token delete

{{< include "generated/kubeadm_token_delete.md" >}}

kubeadm token generate

{{< include "generated/kubeadm_token_generate.md" >}}

kubeadm token list

{{< include "generated/kubeadm_token_list.md" >}}

{{% heading "whatsnext" %}}

  • kubeadm join to bootstrap a Kubernetes worker node and join it to the cluster