Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::NodeTaint (v0.16.3)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NodeTaint.

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 for more information, including usage and the valid values.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#effect

def effect() -> ::Google::Cloud::Container::V1::NodeTaint::Effect
Returns

#effect=

def effect=(value) -> ::Google::Cloud::Container::V1::NodeTaint::Effect
Parameter
Returns

#key

def key() -> ::String
Returns
  • (::String) — Key for taint.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Key for taint.
Returns
  • (::String) — Key for taint.

#value

def value() -> ::String
Returns
  • (::String) — Value for taint.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — Value for taint.
Returns
  • (::String) — Value for taint.