public class V1NodeSpec extends Object
Constructor and Description |
---|
V1NodeSpec() |
Modifier and Type | Method and Description |
---|---|
V1NodeSpec |
addTaintsItem(V1Taint taintsItem) |
boolean |
equals(Object o) |
V1NodeSpec |
externalID(String externalID) |
String |
getExternalID()
External ID of the node assigned by some machine database (e.g.
|
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 |
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 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 © 2017. All rights reserved.