This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.6.2.4. taint
更新一个或多个节点上的污点。
示例:添加污点以为一组用户指定一个节点
oc adm taint nodes node1 dedicated=groupName:NoSchedule
$ oc adm taint nodes node1 dedicated=groupName:NoSchedule
示例:使用 dedicated
从节点 node1
上删除污点
oc adm taint nodes node1 dedicated-
$ oc adm taint nodes node1 dedicated-