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

1.1 KiB

reviewers title content_template weight
mikedanese
luxas
jbeda
kubeadm token templates/concept 70

{{% capture overview %}}

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.

{{% /capture %}}

{{% capture body %}}

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" >}} {{% /capture %}}

{{% capture whatsnext %}}

  • kubeadm join to bootstrap a Kubernetes worker node and join it to the cluster {{% /capture %}}