struct
Kubernetes::DeviceTaint
- Kubernetes::DeviceTaint
- Struct
- Value
- Object
Overview
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1.crgenerated/models/io_k8s_api_resource_v1alpha3.cr
generated/models/io_k8s_api_resource_v1beta1.cr
generated/models/io_k8s_api_resource_v1beta2.cr
Constructors
- .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
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.
-
#effect=(effect : String | Nil)
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.
-
#key : String | Nil
The taint key to be applied to a device.
-
#key=(key : String | Nil)
The taint key to be applied to a device.
-
#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
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None.
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None.
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
The taint value corresponding to the taint key. Must be a label value.