Class: Google::Cloud::Container::V1beta1::NodeTaint
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::NodeTaint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
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.
Defined Under Namespace
Modules: Effect
Instance Attribute Summary collapse
-
#effect ⇒ ::Google::Cloud::Container::V1beta1::NodeTaint::Effect
Effect for taint.
-
#key ⇒ ::String
Key for taint.
-
#value ⇒ ::String
Value for taint.
Instance Attribute Details
#effect ⇒ ::Google::Cloud::Container::V1beta1::NodeTaint::Effect
Returns Effect for taint.
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 905 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.
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 905 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.
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 905 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 |