Google Cloud
create_new_nodepool
Create a new node pool in the given cluster/zone of the provided project
Delete node pool from the given cluster/zone of the provided project
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosgcp.gke.nodepool.actions |
Name | delete_nodepool |
Return | mapping |
Usage
JSON
{
"name": "delete-nodepool",
"type": "action",
"provider": {
"type": "python",
"module": "chaosgcp.gke.nodepool.actions",
"func": "delete_nodepool",
"arguments": {
"node_pool_id": ""
}
}
}
YAML
name: delete-nodepool
provider:
arguments:
node_pool_id: ''
func: delete_nodepool
module: chaosgcp.gke.nodepool.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|---|---|---|
node_pool_id | string | Yes | |
wait_until_complete | boolean | true | No |
If wait_until_complete
is set to True
(the default), the function
will block until the node pool is deleted. Otherwise, will return immediately
with the operation information.
Signature
def delete_nodepool(
node_pool_id: str,
wait_until_complete: bool = True,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass