Enum NodeTaint.Effect (0.21.0)

public enum NodeTaint.Effect extends Enum<NodeTaint.Effect> implements ProtocolMessageEnum

The taint effect.

Protobuf enum google.cloud.gkemulticloud.v1.NodeTaint.Effect

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EFFECT_UNSPECIFIED

Not set.

EFFECT_UNSPECIFIED = 0;

EFFECT_UNSPECIFIED_VALUE

Not set.

EFFECT_UNSPECIFIED = 0;

NO_EXECUTE

Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.

NO_EXECUTE = 3;

NO_EXECUTE_VALUE

Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.

NO_EXECUTE = 3;

NO_SCHEDULE

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.

NO_SCHEDULE = 1;

NO_SCHEDULE_VALUE

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.

NO_SCHEDULE = 1;

PREFER_NO_SCHEDULE

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.

PREFER_NO_SCHEDULE = 2;

PREFER_NO_SCHEDULE_VALUE

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.

PREFER_NO_SCHEDULE = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()