clusters_node_pools_nodes
Creates, updates, deletes, gets or lists a clusters_node_pools_nodes
resource.
Overview
Name | clusters_node_pools_nodes |
Type | Resource |
Id | digitalocean.kubernetes.clusters_node_pools_nodes |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
kubernetes_delete_node | DELETE | cluster_id, node_id, node_pool_id | To 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 }}';