报错:0/5 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn’t tolerate, 4 node(s) didn’t find available persistent volumes to bind
全局配置了:
topologySpreadConstraints:
- topologyKey: tidbpod
master上面是有污点了
k8s的版本:1.19以上
Client Version: version.Info{Major:“1”, Minor:“19”, GitVersion:“v1.19.7”, GitCommit:“1dd5338295409edcfff11505e7bb246f0d325d15”, GitTreeState:“clean”, BuildDate:“2021-01-13T13:23:52Z”, GoVersion:“go1.15.5”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“19”, GitVersion:“v1.19.12”, GitCommit:“2cb4598553d0a2ca5f3eb7980c99cd8236cc5011”, GitTreeState:“clean”, BuildDate:“2021-06-16T12:52:44Z”, GoVersion:“go1.15.13”, Compiler:“gc”, Platform:“linux/amd64”}
使用的默认调度:
schedulerName: default-scheduler