Node Taints
In NETWAYS Managed Kubernetes arbitrary taints on worker nodes can be created if they are required for operation.
The managed workloads, such as the csi-cinder-nodeplugin DaemonSet, tolerate any
taints and cannot be affected.
Creating Taints
Taints can be created via kubectl node taint or by directly editing the Node
object.
Creating Taints with kubectl
With kubectl you can create taints as follows:
Creating Taints in the Node Object
In the Node object itself you can create taints as follows:
In the Node object you add a new entry to the spec.taints field:
apiVersion: v1
kind: Node
metadata:
name: worker-1
labels:
# ...
annotations:
# ...
spec:
taints:
- effect: NoSchedule
key: requirement
value: foo
# ...