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

1.1 KiB

approvers title
mikedanese
luxas
jbeda
kubeadm token

{% capture overview %}

Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a the master 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.

{% endcapture %}

{% capture body %}

kubeadm token create

{% include_relative generated/kubeadm_token_create.md %}

kubeadm token delete

{% include_relative generated/kubeadm_token_delete.md %}

kubeadm token generate

{% include_relative generated/kubeadm_token_generate.md %}

kubeadm token list

{% include_relative generated/kubeadm_token_list.md %} {% endcapture %}

{% capture whatsnext %}

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

{% include templates/concept.md %}