Package org.cdk8s.plus25.k8s
Interface NodeSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NodeSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.752Z") @Stability(Stable) public interface NodeSpec extends software.amazon.jsii.JsiiSerializable
NodeSpec describes the attributes that a node is created with.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNodeSpec.BuilderA builder forNodeSpecstatic classNodeSpec.Jsii$ProxyAn implementation forNodeSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static NodeSpec.Builderbuilder()default NodeConfigSourcegetConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.default StringgetExternalId()Deprecated.default StringgetPodCidr()PodCIDR represents the pod IP range assigned to the node.default List<String>getPodCidRs()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.default StringgetProviderId()ID of the node assigned by the cloud provider in the format::// . default List<Taint>getTaints()If specified, the node's taints.default BooleangetUnschedulable()Unschedulable controls node schedulability of new pods.
-
-
-
Method Detail
-
getConfigSource
@Stability(Stable) @Nullable default NodeConfigSource getConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.This feature is removed from Kubelets as of 1.24 and will be fully removed in 1.26.
-
getExternalId
@Stability(Stable) @Nullable default String getExternalId()
Deprecated.Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
-
getPodCidr
@Stability(Stable) @Nullable default String getPodCidr()
PodCIDR represents the pod IP range assigned to the node.
-
getPodCidRs
@Stability(Stable) @Nullable default List<String> getPodCidRs()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.
-
getProviderId
@Stability(Stable) @Nullable default String getProviderId()
ID of the node assigned by the cloud provider in the format::// .
-
getTaints
@Stability(Stable) @Nullable default List<Taint> getTaints()
If specified, the node's taints.
-
getUnschedulable
@Stability(Stable) @Nullable default Boolean getUnschedulable()
Unschedulable controls node schedulability of new pods.By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
-
builder
@Stability(Stable) static NodeSpec.Builder builder()
- Returns:
- a
NodeSpec.BuilderofNodeSpec
-
-