Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1NodeSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1NodeSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1NodeSpec extends Object
NodeSpec describes the attributes that a node is created with.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONFIG_SOURCEstatic StringJSON_PROPERTY_EXTERNAL_I_Dstatic StringJSON_PROPERTY_POD_C_I_D_Rstatic StringJSON_PROPERTY_POD_C_I_D_RSstatic StringJSON_PROPERTY_PROVIDER_I_Dstatic StringJSON_PROPERTY_TAINTSstatic StringJSON_PROPERTY_UNSCHEDULABLE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1NodeSpec()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CONFIG_SOURCE
public static final String JSON_PROPERTY_CONFIG_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_I_D
public static final String JSON_PROPERTY_EXTERNAL_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POD_C_I_D_R
public static final String JSON_PROPERTY_POD_C_I_D_R
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POD_C_I_D_RS
public static final String JSON_PROPERTY_POD_C_I_D_RS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROVIDER_I_D
public static final String JSON_PROPERTY_PROVIDER_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TAINTS
public static final String JSON_PROPERTY_TAINTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNSCHEDULABLE
public static final String JSON_PROPERTY_UNSCHEDULABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
configSource
public IoK8sApiCoreV1NodeSpec configSource(IoK8sApiCoreV1NodeConfigSource configSource)
-
getConfigSource
@Nullable public IoK8sApiCoreV1NodeConfigSource getConfigSource()
Get configSource- Returns:
- configSource
-
setConfigSource
public void setConfigSource(IoK8sApiCoreV1NodeConfigSource configSource)
-
externalID
public IoK8sApiCoreV1NodeSpec externalID(String externalID)
-
getExternalID
@Nullable public String getExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966- Returns:
- externalID
-
setExternalID
public void setExternalID(String externalID)
-
podCIDR
public IoK8sApiCoreV1NodeSpec podCIDR(String podCIDR)
-
getPodCIDR
@Nullable public String getPodCIDR()
PodCIDR represents the pod IP range assigned to the node.- Returns:
- podCIDR
-
setPodCIDR
public void setPodCIDR(String podCIDR)
-
podCIDRs
public IoK8sApiCoreV1NodeSpec podCIDRs(List<String> podCIDRs)
-
addPodCIDRsItem
public IoK8sApiCoreV1NodeSpec addPodCIDRsItem(String podCIDRsItem)
-
getPodCIDRs
@Nullable public 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.- Returns:
- podCIDRs
-
providerID
public IoK8sApiCoreV1NodeSpec providerID(String providerID)
-
getProviderID
@Nullable public String getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>- Returns:
- providerID
-
setProviderID
public void setProviderID(String providerID)
-
taints
public IoK8sApiCoreV1NodeSpec taints(List<IoK8sApiCoreV1Taint> taints)
-
addTaintsItem
public IoK8sApiCoreV1NodeSpec addTaintsItem(IoK8sApiCoreV1Taint taintsItem)
-
getTaints
@Nullable public List<IoK8sApiCoreV1Taint> getTaints()
If specified, the node's taints.- Returns:
- taints
-
setTaints
public void setTaints(List<IoK8sApiCoreV1Taint> taints)
-
unschedulable
public IoK8sApiCoreV1NodeSpec unschedulable(Boolean unschedulable)
-
getUnschedulable
@Nullable public 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- Returns:
- unschedulable
-
setUnschedulable
public void setUnschedulable(Boolean unschedulable)
-
-