kubectl taint nodes k8s-ingress-01 node-role.kubernetes.io/ingress=:NoSchedule
kubectl taint nodes k8s-ingress-02 node-role.kubernetes.io/ingress=:NoSchedule
# 创建 label 不创建是不能部署的或者删除yaml 文件 nodeSelector项
kubectl label nodes k8s-ingress-01 ingress=yes
kubectl label nodes k8s-ingress-02 ingress=yes
qoogeek / k8s Goto Github PK
View Code? Open in Web Editor NEWThis project forked from qist/k8s