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
# 示例
/apps/k8s/bin/kube-log-runner -log-file=/apps/k8s/log/kube-apiserver.log --also-stdout=false /apps/k8s/bin/kube-apiserver $KUBE_APISERVER_OPTS
service 需修改Type
Type=simple