Kubernetes::WeightedPodAffinityTerm
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
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
pod_affinity_term=(pod_affinity_term : PodAffinityTerm | Nil)
Required. A pod affinity term, associated with the corresponding weight.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion