Google Cloud
delete_nodepool
Delete node pool from the given cluster/zone of the provided project
Create a new node pool in 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 | create_new_nodepool |
Return | mapping |
Usage
JSON
{
"name": "create-new-nodepool",
"type": "action",
"provider": {
"type": "python",
"module": "chaosgcp.gke.nodepool.actions",
"func": "create_new_nodepool",
"arguments": {
"body": {}
}
}
}
YAML
name: create-new-nodepool
provider:
arguments:
body: {}
func: create_new_nodepool
module: chaosgcp.gke.nodepool.actions
type: python
type: action
Arguments
Name | Type | Default | Required |
---|---|---|---|
body | mapping | Yes | |
wait_until_complete | boolean | true | No |
The node pool config must be passed a mapping to the body
parameter and
respect the REST API.
If wait_until_complete
is set to True
(the default), the function
will block until the node pool is ready. Otherwise, will return immediately
with the operation information.
Signature
def create_new_nodepool(
body: Dict[str, Any],
wait_until_complete: bool = True,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass