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 Details

  • Constructor Details

    • V1NodeSpec

      public V1NodeSpec()
  • Method Details

    • getConfigSource

      public V1NodeConfigSource getConfigSource()
      Returns:
      the configSource property value
    • setConfigSource

      public void setConfigSource(V1NodeConfigSource configSource)
      Set the configSource property value
    • configSource

      public V1NodeSpec configSource(V1NodeConfigSource configSource)
      Set configSource in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getExternalID

      public String 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

      public void setExternalID(String externalID)
      Set the externalID property value
    • externalID

      public V1NodeSpec externalID(String externalID)
      Set externalID in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getPodCIDR

      public String getPodCIDR()
      PodCIDR represents the pod IP range assigned to the node.
      Returns:
      the podCIDR property value
    • setPodCIDR

      public void setPodCIDR(String podCIDR)
      Set the podCIDR property value
    • podCIDR

      public V1NodeSpec podCIDR(String podCIDR)
      Set podCIDR in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getPodCIDRs

      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:
      the podCIDRs property value
    • setPodCIDRs

      public void setPodCIDRs(List<String> podCIDRs)
      Set the podCIDRs property value
    • podCIDRs

      public V1NodeSpec podCIDRs(List<String> podCIDRs)
      Set podCIDRs in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • addpodCIDRsItem

      public V1NodeSpec addpodCIDRsItem(String podCIDRsItem)
      Add an item to the podCIDRs property in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getProviderID

      public String getProviderID()
      ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
      Returns:
      the providerID property value
    • setProviderID

      public void setProviderID(String providerID)
      Set the providerID property value
    • providerID

      public V1NodeSpec providerID(String providerID)
      Set providerID in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getTaints

      public List<@Valid V1Taint> getTaints()
      If specified, the node's taints.
      Returns:
      the taints property value
    • setTaints

      public void setTaints(List<@Valid V1Taint> taints)
      Set the taints property value
    • taints

      public V1NodeSpec taints(List<@Valid V1Taint> taints)
      Set taints in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • addtaintsItem

      public V1NodeSpec addtaintsItem(V1Taint taintsItem)
      Add an item to the taints property in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • getUnschedulable

      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:
      the unschedulable property value
    • setUnschedulable

      public void setUnschedulable(Boolean unschedulable)
      Set the unschedulable property value
    • unschedulable

      public V1NodeSpec unschedulable(Boolean unschedulable)
      Set unschedulable in a chainable fashion.
      Returns:
      The same instance of V1NodeSpec for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object