class K8S::Api::Core::V1::TopologySpreadConstraint

Overview

TopologySpreadConstraint specifies how to spread matching pods among the given topology.

Included Modules

Defined in:

versions/v1.19/api/core/v1/topology_spread_constraint.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, max_skew : Int32, topology_key : String, when_unsatisfiable : String, label_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail


[View source]
def label_selector=(label_selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]
def max_skew : Int32 #

[View source]
def max_skew=(max_skew : Int32) #

[View source]
def topology_key : String #

[View source]
def topology_key=(topology_key : String) #

[View source]
def when_unsatisfiable : String #

[View source]
def when_unsatisfiable=(when_unsatisfiable : String) #

[View source]