Class V1NodeSpec
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeSpec
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeSpec
extends Object
NodeSpec describes the attributes that a node is created with.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddpodCIDRsItem
(String podCIDRsItem) Add an item to the podCIDRs property in a chainable fashion.addtaintsItem
(V1Taint taintsItem) Add an item to the taints property in a chainable fashion.configSource
(V1NodeConfigSource configSource) Set configSource in a chainable fashion.boolean
externalID
(String externalID) Set externalID in a chainable fashion.Deprecated.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()
Set podCIDR in a chainable fashion.Set podCIDRs in a chainable fashion.providerID
(String providerID) Set providerID in a chainable fashion.void
setConfigSource
(V1NodeConfigSource configSource) Set the configSource property valuevoid
setExternalID
(String externalID) Set the externalID property valuevoid
setPodCIDR
(String podCIDR) Set the podCIDR property valuevoid
setPodCIDRs
(List<String> podCIDRs) Set the podCIDRs property valuevoid
setProviderID
(String providerID) Set the providerID property valuevoid
Set the taints property valuevoid
setUnschedulable
(Boolean unschedulable) Set the unschedulable property valueSet taints in a chainable fashion.toString()
unschedulable
(Boolean unschedulable) Set unschedulable in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_CONFIG_SOURCE
- See Also:
-
JSON_PROPERTY_EXTERNAL_I_D
- See Also:
-
JSON_PROPERTY_POD_C_I_D_R
- See Also:
-
JSON_PROPERTY_POD_C_I_D_RS
- See Also:
-
JSON_PROPERTY_PROVIDER_I_D
- See Also:
-
JSON_PROPERTY_TAINTS
- See Also:
-
JSON_PROPERTY_UNSCHEDULABLE
- See Also:
-
-
Constructor Details
-
V1NodeSpec
public V1NodeSpec()
-
-
Method Details
-
getConfigSource
- Returns:
- the configSource property value
-
setConfigSource
Set the configSource property value -
configSource
Set configSource in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
getExternalID
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966- Returns:
- the externalID property value
-
setExternalID
Set the externalID property value -
externalID
Set externalID in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
getPodCIDR
PodCIDR represents the pod IP range assigned to the node.- Returns:
- the podCIDR property value
-
setPodCIDR
Set the podCIDR property value -
podCIDR
Set podCIDR in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
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:
- the podCIDRs property value
-
setPodCIDRs
Set the podCIDRs property value -
podCIDRs
Set podCIDRs in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
addpodCIDRsItem
Add an item to the podCIDRs property in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
getProviderID
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>- Returns:
- the providerID property value
-
setProviderID
Set the providerID property value -
providerID
Set providerID in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
getTaints
If specified, the node's taints.- Returns:
- the taints property value
-
setTaints
Set the taints property value -
taints
Set taints in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
addtaintsItem
Add an item to the taints property in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
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:
- the unschedulable property value
-
setUnschedulable
Set the unschedulable property value -
unschedulable
Set unschedulable in a chainable fashion.- Returns:
- The same instance of V1NodeSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-