节点都加入之后在主节点查看集群状态
kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-master Ready control-plane 3m36s v1.31.2
k8s-slave1 Ready <none> 54s v1.31.2
k8s-slave2 Ready <none> 5s v1.31.2