Class NodeTaint (2.19.0)

NodeTaint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

See here <https://kubernetes.io/docs/concepts/configuration/taint-and-toleration>__ for more information, including usage and the valid values.

Attributes

NameDescription
key str
Key for taint.
value str
Value for taint.
effect google.cloud.container_v1beta1.types.NodeTaint.Effect
Effect for taint.

Classes

Effect

Effect(value)

Possible values for Effect in taint.

Values: EFFECT_UNSPECIFIED (0): Not set NO_SCHEDULE (1): NoSchedule PREFER_NO_SCHEDULE (2): PreferNoSchedule NO_EXECUTE (3): NoExecute