ClusterCIDR

io.k8s.api.networking.v1alpha1.ClusterCIDR
See theClusterCIDR companion object
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.

Attributes

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

Members list

Concise view

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

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

Attributes

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

Attributes

Source:
ClusterCIDR.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
ClusterCIDR.scala

Returns a new data with spec set to new value

Returns a new data with spec set to new value

Attributes

Source:
ClusterCIDR.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

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

Attributes

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

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala