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
rossnrachel / k8s_auto_install Goto Github PK
View Code? Open in Web Editor NEWThis project forked from qist/k8s
K8S一键自动安装