- Resource: AzureNodePool
- AzureNodeConfig
- AzureNodePoolAutoscaling
- State
- AzureNodePoolError
- AzureNodeManagement
- Methods
Resource: AzureNodePool
An Anthos node pool running on Azure.
JSON representation |
---|
{ "name": string, "version": string, "config": { object ( |
Fields | |
---|---|
name |
The name of this resource. Node pool names are formatted as For more details on Google Cloud resource names, see Resource Names |
version |
Required. The Kubernetes version (e.g. |
config |
Required. The node configuration of the node pool. |
subnetId |
Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration. |
autoscaling |
Required. Autoscaler configuration for this node pool. |
state |
Output only. The current state of the node pool. |
uid |
Output only. A globally unique identifier for the node pool. |
reconciling |
Output only. If set, there are currently pending changes to the node pool. |
createTime |
Output only. The time at which this node pool was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time at which this node pool was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
etag |
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
annotations |
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. An object containing a list of |
maxPodsConstraint |
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. |
azureAvailabilityZone |
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to |
errors[] |
Output only. A set of errors found in the node pool. |
management |
Optional. The Management configuration for this node pool. |
AzureNodeConfig
Parameters that describe the configuration of all node machines on a given node pool.
JSON representation |
---|
{ "vmSize": string, "rootVolume": { object ( |
Fields | |
---|---|
vmSize |
Optional. The Azure VM size name. Example: See Supported VM sizes for options. When unspecified, it defaults to |
rootVolume |
Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk. |
tags |
Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters. An object containing a list of |
imageType |
Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of When unspecified, it defaults to |
sshConfig |
Required. SSH configuration for how to access the node pool machines. |
proxyConfig |
Optional. Proxy configuration for outbound HTTP(S) traffic. |
configEncryption |
Optional. Configuration related to vm config encryption. |
taints[] |
Optional. The initial taints assigned to nodes of this node pool. |
labels |
Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. An object containing a list of |
AzureNodePoolAutoscaling
Configuration related to Kubernetes cluster autoscaler.
The Kubernetes cluster autoscaler will automatically adjust the size of the node pool based on the cluster load.
JSON representation |
---|
{ "minNodeCount": integer, "maxNodeCount": integer } |
Fields | |
---|---|
minNodeCount |
Required. Minimum number of nodes in the node pool. Must be greater than or equal to 1 and less than or equal to maxNodeCount. |
maxNodeCount |
Required. Maximum number of nodes in the node pool. Must be greater than or equal to minNodeCount and less than or equal to 50. |
State
The lifecycle state of the node pool.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not set. |
PROVISIONING |
The PROVISIONING state indicates the node pool is being created. |
RUNNING |
The RUNNING state indicates the node pool has been created and is fully usable. |
RECONCILING |
The RECONCILING state indicates that the node pool is being reconciled. |
STOPPING |
The STOPPING state indicates the node pool is being deleted. |
ERROR |
The ERROR state indicates the node pool is in a broken unrecoverable state. |
DEGRADED |
The DEGRADED state indicates the node pool requires user action to restore full functionality. |
AzureNodePoolError
AzureNodePoolError describes errors found on Azure node pools.
JSON representation |
---|
{ "message": string } |
Fields | |
---|---|
message |
Human-friendly description of the error. |
AzureNodeManagement
AzureNodeManagement defines the set of node management features turned on for an Azure node pool.
JSON representation |
---|
{ "autoRepair": boolean } |
Fields | |
---|---|
autoRepair |
Optional. Whether or not the nodes will be automatically repaired. When set to true, the nodes in this node pool will be monitored and if they fail health checks consistently over a period of time, an automatic repair action will be triggered to replace them with new nodes. |
Methods |
|
---|---|
|
Creates a new AzureNodePool , attached to a given AzureCluster . |
|
Deletes a specific AzureNodePool resource. |
|
Describes a specific AzureNodePool resource. |
|
Lists all AzureNodePool resources on a given AzureCluster . |
|
Updates an AzureNodePool . |