action Fault Injection Simulator

start_stress_pod_delete_scenario

Run the 'EKS Stress - Pod Delete' scenario

Run it now
View details
Typeaction
Modulechaosaws.fis.actions
Namestart_stress_pod_delete_scenario
Returnmapping

Usage

JSON

{
  "name": "start-stress-pod-delete-scenario",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.fis.actions",
    "func": "start_stress_pod_delete_scenario",
    "arguments": {
      "label_selector": "",
      "tags": null,
      "role_arn": "",
      "log_group_arn": "",
      "cluster_identifier": ""
    }
  }
}

YAML

name: start-stress-pod-delete-scenario
provider:
  arguments:
    cluster_identifier: ''
    label_selector: ''
    log_group_arn: ''
    role_arn: ''
    tags: null
  func: start_stress_pod_delete_scenario
  module: chaosaws.fis.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
label_selectorstringYesPod Label SelectorLabel selector as a k=v string
tagsstringreliably=true,chaoseengineering=trueYesTagsComma-separated list of tags that will be used to identify this particular experiment. Make sure to pass at least one tag that is fairly unique.
role_arnstringYesRole ARNRole used to trigger the experiment, with sufficient permissions for all the disruption
cluster_identifierstringYesCluster IdentifierKubernetes cluster ARN
namespacestringdefaultNoPod Namespace
service_accountstringdefaultNoService AccountService account to perform the operation
client_tokenstringnullNoClient Token
log_group_arnstringNoCloud Watch Role ARNCloud Watch role used to log the experiment
descriptionstringDelete one or more EKS podsNoDescription
client_tokenstringnullNoClient Token

Signature

def start_stress_pod_delete_scenario(
        label_selector: str,
        tags: Union[str, Dict[str, str]],
        role_arn: str,
        log_group_arn: str,
        cluster_identifier: str,
        namespace: str = 'default',
        service_account: str = 'default',
        client_token: str = '',
        description: str = 'Delete one or more EKS pods',
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass