Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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::V1beta1::NodeTaint::Effect
Returns
- (::Google::Cloud::Container::V1beta1::NodeTaint::Effect) — Effect for taint.
#effect=
def effect=(value) -> ::Google::Cloud::Container::V1beta1::NodeTaint::Effect
Parameter
- value (::Google::Cloud::Container::V1beta1::NodeTaint::Effect) — Effect for taint.
Returns
- (::Google::Cloud::Container::V1beta1::NodeTaint::Effect) — Effect for taint.
#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.