Skip to main content

vmware_node_pools

Creates, updates, deletes, gets or lists a vmware_node_pools resource.

Overview

Namevmware_node_pools
TypeResource
Idgoogle.gkeonprem.vmware_node_pools

Fields

NameDatatypeDescription
namestringImmutable. The resource name of this node pool.
annotationsobjectAnnotations 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. Key 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.
configobjectParameters that describe the configuration of all nodes within a given node pool.
createTimestringOutput only. The time at which this node pool was created.
deleteTimestringOutput only. The time at which this node pool was deleted. If the resource is not deleted, this must be empty
displayNamestringThe display name for the node pool.
etagstringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
nodePoolAutoscalingobjectNodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool.
onPremVersionstringAnthos version for the node pool. Defaults to the user cluster version.
reconcilingbooleanOutput only. If set, there are currently changes in flight to the node pool.
statestringOutput only. The current state of the node pool.
statusobjectResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).
uidstringOutput only. The unique identifier of the node pool.
updateTimestringOutput only. The time at which this node pool was last updated.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_vmware_clusters_vmware_node_pools_getSELECTlocationsId, projectsId, vmwareClustersId, vmwareNodePoolsIdGets details of a single VMware node pool.
projects_locations_vmware_clusters_vmware_node_pools_listSELECTlocationsId, projectsId, vmwareClustersIdLists VMware node pools in a given project, location and VMWare cluster.
projects_locations_vmware_clusters_vmware_node_pools_createINSERTlocationsId, projectsId, vmwareClustersIdCreates a new VMware node pool in a given project, location and VMWare cluster.
projects_locations_vmware_clusters_vmware_node_pools_deleteDELETElocationsId, projectsId, vmwareClustersId, vmwareNodePoolsIdDeletes a single VMware node pool.
projects_locations_vmware_clusters_vmware_node_pools_patchUPDATElocationsId, projectsId, vmwareClustersId, vmwareNodePoolsIdUpdates the parameters of a single VMware node pool.
projects_locations_vmware_clusters_vmware_node_pools_enrollEXEClocationsId, projectsId, vmwareClustersIdEnrolls a VMware node pool to Anthos On-Prem API
projects_locations_vmware_clusters_vmware_node_pools_unenrollEXEClocationsId, projectsId, vmwareClustersId, vmwareNodePoolsIdUnenrolls a VMware node pool to Anthos On-Prem API

SELECT examples

Lists VMware node pools in a given project, location and VMWare cluster.

SELECT
name,
annotations,
config,
createTime,
deleteTime,
displayName,
etag,
nodePoolAutoscaling,
onPremVersion,
reconciling,
state,
status,
uid,
updateTime
FROM google.gkeonprem.vmware_node_pools
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND vmwareClustersId = '{{ vmwareClustersId }}';

INSERT example

Use the following StackQL query and manifest file to create a new vmware_node_pools resource.

/*+ create */
INSERT INTO google.gkeonprem.vmware_node_pools (
locationsId,
projectsId,
vmwareClustersId,
name,
displayName,
etag,
annotations,
nodePoolAutoscaling,
config,
onPremVersion
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ vmwareClustersId }}',
'{{ name }}',
'{{ displayName }}',
'{{ etag }}',
'{{ annotations }}',
'{{ nodePoolAutoscaling }}',
'{{ config }}',
'{{ onPremVersion }}'
;

UPDATE example

Updates a vmware_node_pools resource.

/*+ update */
UPDATE google.gkeonprem.vmware_node_pools
SET
name = '{{ name }}',
displayName = '{{ displayName }}',
etag = '{{ etag }}',
annotations = '{{ annotations }}',
nodePoolAutoscaling = '{{ nodePoolAutoscaling }}',
config = '{{ config }}',
onPremVersion = '{{ onPremVersion }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND vmwareClustersId = '{{ vmwareClustersId }}'
AND vmwareNodePoolsId = '{{ vmwareNodePoolsId }}';

DELETE example

Deletes the specified vmware_node_pools resource.

/*+ delete */
DELETE FROM google.gkeonprem.vmware_node_pools
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND vmwareClustersId = '{{ vmwareClustersId }}'
AND vmwareNodePoolsId = '{{ vmwareNodePoolsId }}';