class K8S::Api::Core::V1::PodAntiAffinity
- K8S::Api::Core::V1::PodAntiAffinity
- Reference
- Object
Overview
Pod anti affinity is a group of inter pod anti affinity scheduling rules.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.14/api/core/v1/pod_anti_affinity.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, preferred_during_scheduling_ignored_during_execution : Array? = nil, required_during_scheduling_ignored_during_execution : Array? = nil)
Instance Method Summary
- #preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)?
- #preferred_during_scheduling_ignored_during_execution=(preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)?)
- #required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)?
- #required_during_scheduling_ignored_during_execution=(required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)?)
Constructor Detail
def self.new(*, preferred_during_scheduling_ignored_during_execution : Array? = nil, required_during_scheduling_ignored_during_execution : Array? = nil)
#
Instance Method Detail
def preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)?
#
def preferred_during_scheduling_ignored_during_execution=(preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)?)
#
def required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)?
#
def required_during_scheduling_ignored_during_execution=(required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)?)
#