Azure
delete_node
Delete a node at random from a managed Azure Kubernetes Service
Stop a node at random from a managed Azure Kubernetes Service
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosazure.aks.actions |
Name | stop_node |
Return | None |
Usage
JSON
{
"name": "stop-node",
"type": "action",
"provider": {
"type": "python",
"module": "chaosazure.aks.actions",
"func": "stop_node"
}
}
YAML
name: stop-node
provider:
func: stop_node
module: chaosazure.aks.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
filter | string | null | No | Filter | Target filter selector |
If the filter is omitted all AKS in the subscription will be selected as potential chaos candidates.
Filtering example:
'where resourceGroup=="myresourcegroup" and name="myresourcename"'
Signature
def stop_node(filter: str = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None):
pass