actionAKS

stop_node

Stop a node at random from a managed Azure Kubernetes Service

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaosazure.aks.actions
Namestop_node
ReturnNone

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

NameTypeDefaultRequiredTitleDescription
filterstringnullNoFilterTarget 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