[+] 增加最后 node 状态展示
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 10s

This commit is contained in:
Martin 2025-03-20 09:29:22 +08:00
parent a13df10428
commit 1f25ee25d6

View File

@ -290,6 +290,8 @@ kubectl wait --for=condition=Ready pods --all -n calico-system --timeout=300s
kubectl wait --for=condition=Ready pods --all -n calico-apiserver --timeout=300s
echo "初始化 master $current_ip calico 成功"
kubectl get nodes
OUTPUT=$(kubeadm token create --print-join-command)
# 提取 token 和 discovery-token-ca-cert-hash