Class: Google::Cloud::Container::V1beta1::NodeTaint

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

Defined Under Namespace

Modules: Effect

Instance Attribute Summary collapse

Instance Attribute Details

#effect::Google::Cloud::Container::V1beta1::NodeTaint::Effect

Returns Effect for taint.



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 215

class NodeTaint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for Effect in taint.
  module Effect
    # Not set
    EFFECT_UNSPECIFIED = 0

    # NoSchedule
    NO_SCHEDULE = 1

    # PreferNoSchedule
    PREFER_NO_SCHEDULE = 2

    # NoExecute
    NO_EXECUTE = 3
  end
end

#key::String

Returns Key for taint.

Returns:

  • (::String)

    Key for taint.



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 215

class NodeTaint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for Effect in taint.
  module Effect
    # Not set
    EFFECT_UNSPECIFIED = 0

    # NoSchedule
    NO_SCHEDULE = 1

    # PreferNoSchedule
    PREFER_NO_SCHEDULE = 2

    # NoExecute
    NO_EXECUTE = 3
  end
end

#value::String

Returns Value for taint.

Returns:

  • (::String)

    Value for taint.



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 215

class NodeTaint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible values for Effect in taint.
  module Effect
    # Not set
    EFFECT_UNSPECIFIED = 0

    # NoSchedule
    NO_SCHEDULE = 1

    # PreferNoSchedule
    PREFER_NO_SCHEDULE = 2

    # NoExecute
    NO_EXECUTE = 3
  end
end