class K8S::Api::Core::V1::TopologySpreadConstraint
- K8S::Api::Core::V1::TopologySpreadConstraint
- Reference
- Object
Overview
TopologySpreadConstraint specifies how to spread matching pods among the given topology.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/api/core/v1/topology_spread_constraint.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, max_skew : Int32, topology_key : String, when_unsatisfiable : String, label_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
Instance Method Summary
- #label_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #label_selector=(label_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #max_skew : Int32
- #max_skew=(max_skew : Int32)
- #topology_key : String
- #topology_key=(topology_key : String)
- #when_unsatisfiable : String
- #when_unsatisfiable=(when_unsatisfiable : String)
Constructor Detail
def self.new(*, max_skew : Int32, topology_key : String, when_unsatisfiable : String, label_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
#