我正在尝试安装Cilium,但我得到错误:didn't match pod anti-affinity rules
kubectl get pod cilium-operator-69b677f97c-m4rjw -n kube-system -o yaml
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
io.cilium/app: operator
topologyKey: kubernetes.io/hostname
我在单个节点上运行并且已经完成(如果这是一个问题):
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
如果在单个节点上运行纤毛,则不需要affinity