Kubernetes::DeviceTaintRuleSpec
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
DeviceTaintRuleSpec specifies the selector and one taint.
Constructors
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)
Instance methods
device_selector
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
device_selector=(device_selector : DeviceTaintSelector | Nil)
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion