struct
Kubernetes::DeviceTaintRuleStatus
- Kubernetes::DeviceTaintRuleStatus
- Struct
- Value
- Object
Overview
DeviceTaintRuleStatus provides information about an on-going pod eviction.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1alpha3.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
-
#conditions : Array(Condition) | Nil
Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format.
-
#conditions=(conditions : Array(Condition) | Nil)
Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format. The following condition is currently defined as part of this API, more may get added: - Type: EvictionInProgress - Status: True if there are currently pods which need to be evicted, False otherwise (includes the effects which don't cause eviction).
- Reason: not specified, may change - Message: includes information about number of pending pods and already evicted pods
in a human-readable format, updated periodically, may change
For
effect: None, the condition above gets set once for each change to the spec, with the message containing information about what would happen if the effect wasNoExecute. This feedback can be used to decide whether changing the effect toNoExecutewill work as intended. It only gets set once to avoid having to constantly update the status. Must have 8 or fewer entries.
Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format. The following condition is currently defined as part of this API, more may get added: - Type: EvictionInProgress - Status: True if there are currently pods which need to be evicted, False otherwise (includes the effects which don't cause eviction).
- Reason: not specified, may change - Message: includes information about number of pending pods and already evicted pods
in a human-readable format, updated periodically, may change
For
effect: None, the condition above gets set once for each change to the spec, with the message containing information about what would happen if the effect wasNoExecute. This feedback can be used to decide whether changing the effect toNoExecutewill work as intended. It only gets set once to avoid having to constantly update the status. Must have 8 or fewer entries.