更新时间:2019-08-23 15:31
问:添加了虚拟节点的 Kubernetes 集群的 kube-proxy、coredns 被调度到了虚拟节点,启动失败?
答:kube-proxy、coredns 调度的时候忽略 taints 的,所以有可能被调度到虚拟节点上。
解决办法:编辑 kube-proxy、coredns 的yaml,增加:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: type
operator: NotIn
values:
- virtual-kubelet
在文档使用中是否遇到以下问题
更多建议
匿名提交