Skip to main content

clusters_node_pools_nodes

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

Overview

Nameclusters_node_pools_nodes
TypeResource
Iddigitalocean.kubernetes.clusters_node_pools_nodes

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
kubernetes_delete_nodeDELETEcluster_id, node_id, node_pool_idTo delete a single node in a pool, send a DELETE request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID. Appending the skip_drain=1 query parameter to the request causes node draining to be skipped. Omitting the query parameter or setting its value to 0 carries out draining prior to deletion. Appending the replace=1 query parameter to the request causes the node to be replaced by a new one after deletion. Omitting the query parameter or setting its value to 0 deletes without replacement.

DELETE example

Deletes the specified clusters_node_pools_nodes resource.

/*+ delete */
DELETE FROM digitalocean.kubernetes.clusters_node_pools_nodes
WHERE cluster_id = '{{ cluster_id }}'
AND node_id = '{{ node_id }}'
AND node_pool_id = '{{ node_pool_id }}';