public final class NodePool
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NodePool() |
| Modifier and Type | Method and Description |
|---|---|
NodePool |
clone() |
NodePoolAutoscaling |
getAutoscaling()
Autoscaler configuration for this NodePool.
|
BestEffortProvisioning |
getBestEffortProvisioning()
Enable best effort provisioning for nodes
|
List<StatusCondition> |
getConditions()
Which conditions caused the current node pool state.
|
NodeConfig |
getConfig()
The node configuration of the pool.
|
String |
getEtag()
This checksum is computed by the server based on the value of node pool fields, and may be sent
on update requests to ensure the client has an up-to-date value before proceeding.
|
Integer |
getInitialNodeCount()
The initial node count for the pool.
|
List<String> |
getInstanceGroupUrls()
[Output only] The resource URLs of the [managed instance
groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-
instances) associated with this node pool.
|
List<String> |
getLocations()
The list of Google Compute Engine
[zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes
should be located.
|
NodeManagement |
getManagement()
NodeManagement configuration for this NodePool.
|
MaxPodsConstraint |
getMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the
node pool.
|
String |
getName()
The name of the node pool.
|
NodeNetworkConfig |
getNetworkConfig()
Networking configuration for this NodePool.
|
PlacementPolicy |
getPlacementPolicy()
Specifies the node placement policy.
|
Integer |
getPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
|
QueuedProvisioning |
getQueuedProvisioning()
Specifies the configuration of queued provisioning.
|
String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
String |
getStatus()
[Output only] The status of the nodes in this pool instance.
|
String |
getStatusMessage()
[Output only] Deprecated.
|
UpdateInfo |
getUpdateInfo()
Output only.
|
UpgradeSettings |
getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
|
String |
getVersion()
The version of Kubernetes running on this NodePool's nodes.
|
NodePool |
set(String fieldName,
Object value) |
NodePool |
setAutoscaling(NodePoolAutoscaling autoscaling)
Autoscaler configuration for this NodePool.
|
NodePool |
setBestEffortProvisioning(BestEffortProvisioning bestEffortProvisioning)
Enable best effort provisioning for nodes
|
NodePool |
setConditions(List<StatusCondition> conditions)
Which conditions caused the current node pool state.
|
NodePool |
setConfig(NodeConfig config)
The node configuration of the pool.
|
NodePool |
setEtag(String etag)
This checksum is computed by the server based on the value of node pool fields, and may be sent
on update requests to ensure the client has an up-to-date value before proceeding.
|
NodePool |
setInitialNodeCount(Integer initialNodeCount)
The initial node count for the pool.
|
NodePool |
setInstanceGroupUrls(List<String> instanceGroupUrls)
[Output only] The resource URLs of the [managed instance
groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-
instances) associated with this node pool.
|
NodePool |
setLocations(List<String> locations)
The list of Google Compute Engine
[zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes
should be located.
|
NodePool |
setManagement(NodeManagement management)
NodeManagement configuration for this NodePool.
|
NodePool |
setMaxPodsConstraint(MaxPodsConstraint maxPodsConstraint)
The constraint on the maximum number of pods that can be run simultaneously on a node in the
node pool.
|
NodePool |
setName(String name)
The name of the node pool.
|
NodePool |
setNetworkConfig(NodeNetworkConfig networkConfig)
Networking configuration for this NodePool.
|
NodePool |
setPlacementPolicy(PlacementPolicy placementPolicy)
Specifies the node placement policy.
|
NodePool |
setPodIpv4CidrSize(Integer podIpv4CidrSize)
[Output only] The pod CIDR block size per node in this node pool.
|
NodePool |
setQueuedProvisioning(QueuedProvisioning queuedProvisioning)
Specifies the configuration of queued provisioning.
|
NodePool |
setSelfLink(String selfLink)
[Output only] Server-defined URL for the resource.
|
NodePool |
setStatus(String status)
[Output only] The status of the nodes in this pool instance.
|
NodePool |
setStatusMessage(String statusMessage)
[Output only] Deprecated.
|
NodePool |
setUpdateInfo(UpdateInfo updateInfo)
Output only.
|
NodePool |
setUpgradeSettings(UpgradeSettings upgradeSettings)
Upgrade settings control disruption and speed of the upgrade.
|
NodePool |
setVersion(String version)
The version of Kubernetes running on this NodePool's nodes.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic NodePoolAutoscaling getAutoscaling()
null for nonepublic NodePool setAutoscaling(NodePoolAutoscaling autoscaling)
autoscaling - autoscaling or null for nonepublic BestEffortProvisioning getBestEffortProvisioning()
null for nonepublic NodePool setBestEffortProvisioning(BestEffortProvisioning bestEffortProvisioning)
bestEffortProvisioning - bestEffortProvisioning or null for nonepublic List<StatusCondition> getConditions()
null for nonepublic NodePool setConditions(List<StatusCondition> conditions)
conditions - conditions or null for nonepublic NodeConfig getConfig()
null for nonepublic NodePool setConfig(NodeConfig config)
config - config or null for nonepublic String getEtag()
null for nonepublic NodePool setEtag(String etag)
etag - etag or null for nonepublic Integer getInitialNodeCount()
null for nonepublic NodePool setInitialNodeCount(Integer initialNodeCount)
initialNodeCount - initialNodeCount or null for nonepublic List<String> getInstanceGroupUrls()
null for nonepublic NodePool setInstanceGroupUrls(List<String> instanceGroupUrls)
instanceGroupUrls - instanceGroupUrls or null for nonepublic List<String> getLocations()
null for nonepublic NodePool setLocations(List<String> locations)
locations - locations or null for nonepublic NodeManagement getManagement()
null for nonepublic NodePool setManagement(NodeManagement management)
management - management or null for nonepublic MaxPodsConstraint getMaxPodsConstraint()
null for nonepublic NodePool setMaxPodsConstraint(MaxPodsConstraint maxPodsConstraint)
maxPodsConstraint - maxPodsConstraint or null for nonepublic String getName()
null for nonepublic NodePool setName(String name)
name - name or null for nonepublic NodeNetworkConfig getNetworkConfig()
null for nonepublic NodePool setNetworkConfig(NodeNetworkConfig networkConfig)
networkConfig - networkConfig or null for nonepublic PlacementPolicy getPlacementPolicy()
null for nonepublic NodePool setPlacementPolicy(PlacementPolicy placementPolicy)
placementPolicy - placementPolicy or null for nonepublic Integer getPodIpv4CidrSize()
null for nonepublic NodePool setPodIpv4CidrSize(Integer podIpv4CidrSize)
podIpv4CidrSize - podIpv4CidrSize or null for nonepublic QueuedProvisioning getQueuedProvisioning()
null for nonepublic NodePool setQueuedProvisioning(QueuedProvisioning queuedProvisioning)
queuedProvisioning - queuedProvisioning or null for nonepublic String getSelfLink()
null for nonepublic NodePool setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic NodePool setStatus(String status)
status - status or null for nonepublic String getStatusMessage()
null for nonepublic NodePool setStatusMessage(String statusMessage)
statusMessage - statusMessage or null for nonepublic UpdateInfo getUpdateInfo()
null for nonepublic NodePool setUpdateInfo(UpdateInfo updateInfo)
updateInfo - updateInfo or null for nonepublic UpgradeSettings getUpgradeSettings()
null for nonepublic NodePool setUpgradeSettings(UpgradeSettings upgradeSettings)
upgradeSettings - upgradeSettings or null for nonepublic String getVersion()
null for nonepublic NodePool setVersion(String version)
version - version or null for nonepublic NodePool set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NodePool clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.