Package io.kubernetes.client.util.taints
Class Taints.TaintsBuilder
java.lang.Object
io.kubernetes.client.util.taints.Taints.TaintsBuilder
- Enclosing class:
- Taints
-
Method Summary
Modifier and TypeMethodDescriptionaddTaint
(String key, Taints.Effect effect) Add a taint to a nodeaddTaint
(String key, String value, Taints.Effect effect) Add a taint to a noderemoveTaint
(String key) Remove all taints matching a specified keyremoveTaint
(String key, Taints.Effect effect) Remove a taint matching a key and an effectupdateTaint
(String key, String value, Taints.Effect effect) Add a taint to a node
-
Method Details
-
addTaint
Add a taint to a node- Parameters:
key
- The key for the tainteffect
- The effect
-
addTaint
Add a taint to a node- Parameters:
key
- The key for the tainteffect
- The effect
-
updateTaint
Add a taint to a node- Parameters:
key
- The key for the tainteffect
- The effect
-
removeTaint
Remove all taints matching a specified key- Parameters:
key
- : The key for the taint(s) to remove
-
removeTaint
Remove a taint matching a key and an effect- Parameters:
key
- They key to matcheffect
- The effect to match
-