### 常用命令 #### 1. 标签相关 ##### 1.1 查看节点标签 ```bash kubectl get node --show-labels ``` ##### 1.2 给节点打标签 ```bash kubectl label node vm-worker-02 ingress=true ``` ##### 1.3 删除节点标签 ```bash kubectl label node vm-worker-02 ingress- ```