网页 综合 更新时间 2026-11-13 15:31:22

Adding Linux worker nodes | Kubernetes

自动蜘蛛 kubernetes.io 正文约 1508 字
Adding Linux worker nodes | Kubernetes
This page explains how to add Linux worker nodes to a kubeadm cluster.
To add new Linux worker nodes to your cluster do the following for each machine:
If you do not have the token, you can get it by running the following command on the control plane node:
The output is similar to this:
By default, node join tokens expire after 24 hours. If you are joining a node to the cluster after the current token has expired, you can create a new token by running the following command on the control plane node:
The output is similar to this:
To print a kubeadm join command while also generating a new token you can use:
If you don't have the value of --discovery-token-ca-cert-hash, you can get it by running the following commands on the control plane node:
The output is similar to:
The output of the kubeadm join command should look something like:
A few seconds later, you should notice this node in the output from kubectl get nodes. (for example, run kubectl on a control plane node).
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub Repository if you want to report a problem or suggest an improvement.
© 2026 The Kubernetes Authors | Documentation Distributed under CC BY 4.0
© 2026 Copyright © Kubernetes a Series of LF Projects, LLC. For website terms of use, trademark policy and other project policies please see https://lfprojects.org/policies/
ICP license: 京ICP备17074266号-3
访问原文 返回搜索 https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-linux-nodes/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。