struct
Kubernetes::Taint
- Kubernetes::Taint
- Struct
- Value
- Object
Overview
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#effect : String | Nil
Required.
-
#effect=(effect : String | Nil)
Required.
-
#key : String | Nil
Required.
-
#key=(key : String | Nil)
Required.
-
#time_added : Time | Nil
TimeAdded represents the time at which the taint was added.
-
#time_added=(time_added : Time | Nil)
TimeAdded represents the time at which the taint was added.
-
#value : String | Nil
The taint value corresponding to the taint key.
-
#value=(value : String | Nil)
The taint value corresponding to the taint key.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
TimeAdded represents the time at which the taint was added.