public class V1NodeSpec extends Object
Constructor and Description |
---|
V1NodeSpec() |
Modifier and Type | Method and Description |
---|---|
V1NodeSpec |
addTaintsItem(V1Taint taintsItem) |
V1NodeSpec |
configSource(V1NodeConfigSource configSource) |
boolean |
equals(Object o) |
V1NodeSpec |
externalID(String externalID) |
V1NodeConfigSource |
getConfigSource()
If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
|
String |
getExternalID()
Deprecated.
|
String |
getPodCIDR()
PodCIDR represents the pod IP range assigned to the node.
|
String |
getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
|
List<V1Taint> |
getTaints()
If specified, the node's taints.
|
int |
hashCode() |
Boolean |
isUnschedulable()
Unschedulable controls node schedulability of new pods.
|
V1NodeSpec |
podCIDR(String podCIDR) |
V1NodeSpec |
providerID(String providerID) |
void |
setConfigSource(V1NodeConfigSource configSource) |
void |
setExternalID(String externalID) |
void |
setPodCIDR(String podCIDR) |
void |
setProviderID(String providerID) |
void |
setTaints(List<V1Taint> taints) |
void |
setUnschedulable(Boolean unschedulable) |
V1NodeSpec |
taints(List<V1Taint> taints) |
String |
toString() |
V1NodeSpec |
unschedulable(Boolean unschedulable) |
public V1NodeSpec configSource(V1NodeConfigSource configSource)
public V1NodeConfigSource getConfigSource()
public void setConfigSource(V1NodeConfigSource configSource)
public V1NodeSpec externalID(String externalID)
public String getExternalID()
public void setExternalID(String externalID)
public V1NodeSpec podCIDR(String podCIDR)
public String getPodCIDR()
public void setPodCIDR(String podCIDR)
public V1NodeSpec providerID(String providerID)
public String getProviderID()
public void setProviderID(String providerID)
public V1NodeSpec taints(List<V1Taint> taints)
public V1NodeSpec addTaintsItem(V1Taint taintsItem)
public V1NodeSpec unschedulable(Boolean unschedulable)
public Boolean isUnschedulable()
public void setUnschedulable(Boolean unschedulable)
Copyright © 2018. All rights reserved.