Package org.cdk8s.plus25.k8s
Class KubeClusterCidrv1Alpha1
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus25.k8s.KubeClusterCidrv1Alpha1
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.584Z") @Stability(Stable) public class KubeClusterCidrv1Alpha1 extends org.cdk8s.ApiObject
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubeClusterCidrv1Alpha1.BuilderA fluent builder forKubeClusterCidrv1Alpha1.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKindGVKReturns the apiVersion and kind for "io.k8s.api.networking.v1alpha1.ClusterCIDR".
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubeClusterCidrv1Alpha1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKubeClusterCidrv1Alpha1(software.amazon.jsii.JsiiObjectRef objRef)KubeClusterCidrv1Alpha1(software.constructs.Construct scope, String id)Defines a "io.k8s.api.networking.v1alpha1.ClusterCIDR" API object.KubeClusterCidrv1Alpha1(software.constructs.Construct scope, String id, KubeClusterCidrv1Alpha1Props props)Defines a "io.k8s.api.networking.v1alpha1.ClusterCIDR" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectmanifest()Renders a Kubernetes manifest for "io.k8s.api.networking.v1alpha1.ClusterCIDR".static Objectmanifest(KubeClusterCidrv1Alpha1Props props)Renders a Kubernetes manifest for "io.k8s.api.networking.v1alpha1.ClusterCIDR".ObjecttoJson()Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeClusterCidrv1Alpha1
protected KubeClusterCidrv1Alpha1(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeClusterCidrv1Alpha1
protected KubeClusterCidrv1Alpha1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeClusterCidrv1Alpha1
@Stability(Stable) public KubeClusterCidrv1Alpha1(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KubeClusterCidrv1Alpha1Props props)Defines a "io.k8s.api.networking.v1alpha1.ClusterCIDR" API object.- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.props- initialization props.
-
KubeClusterCidrv1Alpha1
@Stability(Stable) public KubeClusterCidrv1Alpha1(@NotNull software.constructs.Construct scope, @NotNull String id)Defines a "io.k8s.api.networking.v1alpha1.ClusterCIDR" API object.- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@Nullable KubeClusterCidrv1Alpha1Props props)
Renders a Kubernetes manifest for "io.k8s.api.networking.v1alpha1.ClusterCIDR".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props- initialization props.
-
manifest
@Stability(Stable) @NotNull public static Object manifest()
Renders a Kubernetes manifest for "io.k8s.api.networking.v1alpha1.ClusterCIDR".This can be used to inline resource manifests inside other objects (e.g. as templates).
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJsonin classorg.cdk8s.ApiObject
-
-