Class: Google::Cloud::GkeMultiCloud::V1::NodeTaint
- Inherits:
-
Object
- Object
- Google::Cloud::GkeMultiCloud::V1::NodeTaint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb
Overview
The taint content for the node taint.
Defined Under Namespace
Modules: Effect
Instance Attribute Summary collapse
-
#effect ⇒ ::Google::Cloud::GkeMultiCloud::V1::NodeTaint::Effect
Required.
-
#key ⇒ ::String
Required.
-
#value ⇒ ::String
Required.
Instance Attribute Details
#effect ⇒ ::Google::Cloud::GkeMultiCloud::V1::NodeTaint::Effect
Returns Required. The taint effect.
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb', line 125 class NodeTaint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The taint effect. module Effect # Not set. EFFECT_UNSPECIFIED = 0 # Do not allow new pods to schedule onto the node unless they tolerate the # taint, but allow all pods submitted to Kubelet without going through the # scheduler to start, and allow all already-running pods to continue # running. Enforced by the scheduler. NO_SCHEDULE = 1 # Like TaintEffectNoSchedule, but the scheduler tries not to schedule # new pods onto the node, rather than prohibiting new pods from scheduling # onto the node entirely. Enforced by the scheduler. PREFER_NO_SCHEDULE = 2 # Evict any already-running pods that do not tolerate the taint. # Currently enforced by NodeController. NO_EXECUTE = 3 end end |
#key ⇒ ::String
Returns Required. Key for the taint.
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb', line 125 class NodeTaint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The taint effect. module Effect # Not set. EFFECT_UNSPECIFIED = 0 # Do not allow new pods to schedule onto the node unless they tolerate the # taint, but allow all pods submitted to Kubelet without going through the # scheduler to start, and allow all already-running pods to continue # running. Enforced by the scheduler. NO_SCHEDULE = 1 # Like TaintEffectNoSchedule, but the scheduler tries not to schedule # new pods onto the node, rather than prohibiting new pods from scheduling # onto the node entirely. Enforced by the scheduler. PREFER_NO_SCHEDULE = 2 # Evict any already-running pods that do not tolerate the taint. # Currently enforced by NodeController. NO_EXECUTE = 3 end end |
#value ⇒ ::String
Returns Required. Value for the taint.
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb', line 125 class NodeTaint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The taint effect. module Effect # Not set. EFFECT_UNSPECIFIED = 0 # Do not allow new pods to schedule onto the node unless they tolerate the # taint, but allow all pods submitted to Kubelet without going through the # scheduler to start, and allow all already-running pods to continue # running. Enforced by the scheduler. NO_SCHEDULE = 1 # Like TaintEffectNoSchedule, but the scheduler tries not to schedule # new pods onto the node, rather than prohibiting new pods from scheduling # onto the node entirely. Enforced by the scheduler. PREFER_NO_SCHEDULE = 2 # Evict any already-running pods that do not tolerate the taint. # Currently enforced by NodeController. NO_EXECUTE = 3 end end |