k8s 一主一从 为什么master 上面的pod报错
ps:
1、在master执行过主可以调度pod
kubectl taint nodes k8s-master node-role.kubernetes.io/master-
2、yaml 里面配的指定master
nodeSelector:
node-role.kubernetes.io/master: ""
kubernetes.io/hostname: "k8s-master"
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule