probeCPU, Memory

get_stressors

List all stressors

Activity as code

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

Typeprobe
Modulechaosk8s.chaosmesh.stress.probes
Nameget_stressors
Returnlist

Usage

JSON

{
  "name": "get-stressors",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosk8s.chaosmesh.stress.probes",
    "func": "get_stressors"
  }
}

YAML

name: get-stressors
provider:
  func: get_stressors
  module: chaosk8s.chaosmesh.stress.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
nsstringdefaultNoNamespaceNamespace where to get stressors from

Signature

def get_stressors(ns: str = 'default',
                  secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass