亲和度配置
Node亲和度
限制Pod调度到Node
kubectl taint node 10.100.0.133 backend=true:NoSchedule这个命令表示在node 10.100.0.133上,只有pod打上标签backend=true才能被调度到这个节点。
Pod亲和度
Last updated
kubectl taint node 10.100.0.133 backend=true:NoSchedule这个命令表示在node 10.100.0.133上,只有pod打上标签backend=true才能被调度到这个节点。
Last updated