Class NodeSpec

    • Method Detail

      • getConfigSource

        public NodeConfigSource getConfigSource()
        NodeSpec describes the attributes that a node is created with.
      • setConfigSource

        public void setConfigSource​(NodeConfigSource configSource)
        NodeSpec describes the attributes that a node is created with.
      • getExternalID

        public String getExternalID()
        Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
      • setExternalID

        public void setExternalID​(String externalID)
        Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
      • getPodCIDR

        public String getPodCIDR()
        PodCIDR represents the pod IP range assigned to the node.
      • setPodCIDR

        public void setPodCIDR​(String podCIDR)
        PodCIDR represents the pod IP range assigned to the node.
      • 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.
      • setPodCIDRs

        public void setPodCIDRs​(List<String> podCIDRs)
        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

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

        public void setProviderID​(String providerID)
        ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
      • getTaints

        public List<Taint> getTaints()
        If specified, the node's taints.
      • setTaints

        public void setTaints​(List<Taint> taints)
        If specified, the node's taints.
      • 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
      • setUnschedulable

        public void setUnschedulable​(Boolean unschedulable)
        Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)