Class: Google::Container::V1beta1::NodeTaint
- Inherits:
-
Object
- Object
- Google::Container::V1beta1::NodeTaint
- Defined in:
- lib/google/cloud/container/v1beta1/doc/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
-
#effect ⇒ Google::Container::V1beta1::NodeTaint::Effect
Effect for taint.
-
#key ⇒ String
Key for taint.
-
#value ⇒ String
Value for taint.
Instance Attribute Details
#effect ⇒ Google::Container::V1beta1::NodeTaint::Effect
Returns Effect for taint.
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 186 class NodeTaint # 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.
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 186 class NodeTaint # 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.
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 186 class NodeTaint # 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 |