class K8S::Api::Core::V1::PodAffinity
- K8S::Api::Core::V1::PodAffinity
- Reference
- Object
Overview
Pod affinity is a group of inter pod affinity scheduling rules.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/pod_affinity.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)? = nil, required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)? = 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(Api::Core::V1::WeightedPodAffinityTerm)? = nil, required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)? = 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)?)
#