actionCluster

stop_chaos

Stop Chaos in your cluster

Activity as code

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

Typeaction
Modulechaosservicefabric.cluster.actions
Namestop_chaos
Returnmapping

Usage

JSON

{
  "name": "stop-chaos",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosservicefabric.cluster.actions",
    "func": "stop_chaos"
  }
}

YAML

name: stop-chaos
provider:
  func: stop_chaos
  module: chaosservicefabric.cluster.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
timeoutinteger60NoTimeoutCall timeout to stop the Chaos running in the cluster

Please see the chaosservicefabric.fabric.auth function help for more information on authenticating with the service.

Signature

def stop_chaos(timeout: int = 60,
               configuration: Dict[str, Dict[str, str]] = None,
               secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass