Class V1NodeSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1NodeSpec
extends Object
NodeSpec describes the attributes that a node is created with.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPodCIDRsItem
(String podCIDRsItem) addTaintsItem
(V1Taint taintsItem) configSource
(V1NodeConfigSource configSource) boolean
externalID
(String externalID) Get configSourceDeprecated.PodCIDR represents the pod IP range assigned to the node.podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>If specified, the node's taints.Unschedulable controls node schedulability of new pods.int
hashCode()
providerID
(String providerID) void
setConfigSource
(V1NodeConfigSource configSource) void
setExternalID
(String externalID) void
setPodCIDR
(String podCIDR) void
setPodCIDRs
(List<String> podCIDRs) void
setProviderID
(String providerID) void
void
setUnschedulable
(Boolean unschedulable) toString()
unschedulable
(Boolean unschedulable)
-
Field Details
-
SERIALIZED_NAME_CONFIG_SOURCE
- See Also:
-
SERIALIZED_NAME_EXTERNAL_I_D
- See Also:
-
SERIALIZED_NAME_POD_C_I_D_R
- See Also:
-
SERIALIZED_NAME_POD_C_I_D_RS
- See Also:
-
SERIALIZED_NAME_PROVIDER_I_D
- See Also:
-
SERIALIZED_NAME_TAINTS
- See Also:
-
SERIALIZED_NAME_UNSCHEDULABLE
- See Also:
-
-
Constructor Details
-
V1NodeSpec
public V1NodeSpec()
-
-
Method Details
-
configSource
-
getConfigSource
Get configSource- Returns:
- configSource
-
setConfigSource
-
externalID
-
getExternalID
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966- Returns:
- externalID
-
setExternalID
-
podCIDR
-
getPodCIDR
PodCIDR represents the pod IP range assigned to the node.- Returns:
- podCIDR
-
setPodCIDR
-
podCIDRs
-
addPodCIDRsItem
-
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.- Returns:
- podCIDRs
-
setPodCIDRs
-
providerID
-
getProviderID
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>- Returns:
- providerID
-
setProviderID
-
taints
-
addTaintsItem
-
getTaints
If specified, the node's taints.- Returns:
- taints
-
setTaints
-
unschedulable
-
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- Returns:
- unschedulable
-
setUnschedulable
-
equals
-
hashCode
public int hashCode() -
toString
-