typora/note/K8S/学习笔记/kubectl.md
2024-12-12 10:48:55 +08:00

287 B

常用命令

1. 标签相关

1.1 查看节点标签
kubectl get node --show-labels
1.2 给节点打标签
 kubectl label node vm-worker-02 ingress=true
1.3 删除节点标签
kubectl label node vm-worker-02 ingress-