Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NodeTaint (v0.11.0)

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

Kubernetes taint is comprised 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::V1beta1::NodeTaint::Effect

#effect=

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

#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.