Azure
delete_node
Delete a node at random from a managed Azure Kubernetes Service
Restart 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 | restart_node |
Return | None |
Usage
JSON
{
"name": "restart-node",
"type": "action",
"provider": {
"type": "python",
"module": "chaosazure.aks.actions",
"func": "restart_node"
}
}
YAML
name: restart-node
provider:
func: restart_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 restart_node(filter: str = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None):
pass