ClusterCIDR

final case class ClusterCIDR(metadata: Option[ObjectMeta], spec: Option[ClusterCIDRSpec]) extends KObject

ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.

Companion:
object
Source:
ClusterCIDR.scala
trait KObject
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def foldTo[T : Builder]: T
Definition Classes
Source:
ClusterCIDR.scala

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

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

Source:
ClusterCIDR.scala

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

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

Source:
ClusterCIDR.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Source:
ClusterCIDR.scala

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Source:
ClusterCIDR.scala

Inherited methods

final def group: String
Inherited from:
KObject
Source:
ResourceKind.scala
Inherited from:
Product

Inherited fields

final lazy val apiVersion: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String
Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String
Inherited from:
KObject
Source:
ResourceKind.scala