vmware_node_pools
Creates, updates, deletes, gets or lists a vmware_node_pools
resource.
Overview
Name | vmware_node_pools |
Type | Resource |
Id | google.gkeonprem.vmware_node_pools |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Immutable. The resource name of this node pool. |
annotations | object | 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. 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. |
config | object | Parameters that describe the configuration of all nodes within a given node pool. |
createTime | string | Output only. The time at which this node pool was created. |
deleteTime | string | Output only. The time at which this node pool was deleted. If the resource is not deleted, this must be empty |
displayName | string | The display name for the node pool. |
etag | string | This 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. |
nodePoolAutoscaling | object | NodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool. |
onPremVersion | string | Anthos version for the node pool. Defaults to the user cluster version. |
reconciling | boolean | Output only. If set, there are currently changes in flight to the node pool. |
state | string | Output only. The current state of the node pool. |
status | object | ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED). |
uid | string | Output only. The unique identifier of the node pool. |
updateTime | string | Output only. The time at which this node pool was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_vmware_clusters_vmware_node_pools_get | SELECT | locationsId, projectsId, vmwareClustersId, vmwareNodePoolsId | Gets details of a single VMware node pool. |
projects_locations_vmware_clusters_vmware_node_pools_list | SELECT | locationsId, projectsId, vmwareClustersId | Lists VMware node pools in a given project, location and VMWare cluster. |
projects_locations_vmware_clusters_vmware_node_pools_create | INSERT | locationsId, projectsId, vmwareClustersId | Creates a new VMware node pool in a given project, location and VMWare cluster. |
projects_locations_vmware_clusters_vmware_node_pools_delete | DELETE | locationsId, projectsId, vmwareClustersId, vmwareNodePoolsId | Deletes a single VMware node pool. |
projects_locations_vmware_clusters_vmware_node_pools_patch | UPDATE | locationsId, projectsId, vmwareClustersId, vmwareNodePoolsId | Updates the parameters of a single VMware node pool. |
projects_locations_vmware_clusters_vmware_node_pools_enroll | EXEC | locationsId, projectsId, vmwareClustersId | Enrolls a VMware node pool to Anthos On-Prem API |
projects_locations_vmware_clusters_vmware_node_pools_unenroll | EXEC | locationsId, projectsId, vmwareClustersId, vmwareNodePoolsId | Unenrolls 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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: displayName
value: string
- name: uid
value: string
- name: state
value: string
- name: reconciling
value: boolean
- name: createTime
value: string
- name: updateTime
value: string
- name: deleteTime
value: string
- name: etag
value: string
- name: annotations
value: object
- name: nodePoolAutoscaling
value:
- name: minReplicas
value: integer
- name: maxReplicas
value: integer
- name: config
value:
- name: cpus
value: string
- name: memoryMb
value: string
- name: replicas
value: string
- name: imageType
value: string
- name: image
value: string
- name: bootDiskSizeGb
value: string
- name: taints
value:
- - name: key
value: string
- name: value
value: string
- name: effect
value: string
- name: labels
value: object
- name: vsphereConfig
value:
- name: datastore
value: string
- name: tags
value:
- - name: category
value: string
- name: tag
value: string
- name: hostGroups
value:
- string
- name: enableLoadBalancer
value: boolean
- name: status
value:
- name: errorMessage
value: string
- name: conditions
value:
- - name: type
value: string
- name: reason
value: string
- name: message
value: string
- name: lastTransitionTime
value: string
- name: state
value: string
- name: version
value: string
- name: versions
value:
- name: versions
value:
- - name: version
value: string
- name: count
value: string
- name: onPremVersion
value: string
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 }}';