Class NodeTaint (0.6.8)

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

The taint content for the node taint.

Attributes

NameDescription
key str
Required. Key for the taint.
value str
Required. Value for the taint.
effect google.cloud.gke_multicloud_v1.types.NodeTaint.Effect
Required. The taint effect.

Classes

Effect

Effect(value)

The taint effect.

Values: EFFECT_UNSPECIFIED (0): Not set. NO_SCHEDULE (1): Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler. PREFER_NO_SCHEDULE (2): Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler. NO_EXECUTE (3): Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.