Google Anthos Multi Cloud V1 Client - Class Effect (1.1.1)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class Effect.

The taint effect.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1 \ NodeTaint

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

EFFECT_UNSPECIFIED

Value: 0

Not set.

Generated from protobuf enum EFFECT_UNSPECIFIED = 0;

NO_SCHEDULE

Value: 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.

Generated from protobuf enum NO_SCHEDULE = 1;

PREFER_NO_SCHEDULE

Value: 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.

Generated from protobuf enum PREFER_NO_SCHEDULE = 2;

NO_EXECUTE

Value: 3

Evict any already-running pods that do not tolerate the taint.

Currently enforced by NodeController.

Generated from protobuf enum NO_EXECUTE = 3;