TopologySpreadConstraint

io.k8s.api.core.v1.TopologySpreadConstraint
See theTopologySpreadConstraint companion object
final case class TopologySpreadConstraint(maxSkew: Int, topologyKey: String, whenUnsatisfiable: String, matchLabelKeys: Option[Seq[String]], minDomains: Option[Int], labelSelector: Option[LabelSelector], nodeAffinityPolicy: Option[String], nodeTaintsPolicy: Option[String])

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

Attributes

Companion
object
Source
TopologySpreadConstraint.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addMatchLabelKeys(newValues: String*): TopologySpreadConstraint

Appends new values to matchLabelKeys

Appends new values to matchLabelKeys

Attributes

Source
TopologySpreadConstraint.scala

if labelSelector has a value, transforms to the result of function

if labelSelector has a value, transforms to the result of function

Attributes

Source
TopologySpreadConstraint.scala
def mapMatchLabelKeys(f: Seq[String] => Seq[String]): TopologySpreadConstraint

if matchLabelKeys has a value, transforms to the result of function

if matchLabelKeys has a value, transforms to the result of function

Attributes

Source
TopologySpreadConstraint.scala
def mapMaxSkew(f: Int => Int): TopologySpreadConstraint

transforms maxSkew to result of function

transforms maxSkew to result of function

Attributes

Source
TopologySpreadConstraint.scala

if minDomains has a value, transforms to the result of function

if minDomains has a value, transforms to the result of function

Attributes

Source
TopologySpreadConstraint.scala

if nodeAffinityPolicy has a value, transforms to the result of function

if nodeAffinityPolicy has a value, transforms to the result of function

Attributes

Source
TopologySpreadConstraint.scala
def mapNodeTaintsPolicy(f: String => String): TopologySpreadConstraint

if nodeTaintsPolicy has a value, transforms to the result of function

if nodeTaintsPolicy has a value, transforms to the result of function

Attributes

Source
TopologySpreadConstraint.scala
def mapTopologyKey(f: String => String): TopologySpreadConstraint

transforms topologyKey to result of function

transforms topologyKey to result of function

Attributes

Source
TopologySpreadConstraint.scala

transforms whenUnsatisfiable to result of function

transforms whenUnsatisfiable to result of function

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with labelSelector set to new value

Returns a new data with labelSelector set to new value

Attributes

Source
TopologySpreadConstraint.scala
def withMatchLabelKeys(value: Seq[String]): TopologySpreadConstraint

Returns a new data with matchLabelKeys set to new value

Returns a new data with matchLabelKeys set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with maxSkew set to new value

Returns a new data with maxSkew set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with minDomains set to new value

Returns a new data with minDomains set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with nodeAffinityPolicy set to new value

Returns a new data with nodeAffinityPolicy set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with nodeTaintsPolicy set to new value

Returns a new data with nodeTaintsPolicy set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with topologyKey set to new value

Returns a new data with topologyKey set to new value

Attributes

Source
TopologySpreadConstraint.scala

Returns a new data with whenUnsatisfiable set to new value

Returns a new data with whenUnsatisfiable set to new value

Attributes

Source
TopologySpreadConstraint.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product