apiVersion: litmuschaos.io/v1alpha1 kind: ChaosEngine metadata: name: nginx-chaos namespace: default spec: # It can be true/false annotationCheck: 'false' auxiliaryAppInfo: 'ns1:name=percona,ns2:run=nginx' appinfo: appns: 'default' applabel: 'app=nginx' appkind: 'deployment' # It can be true/false annotationCheck: 'false' #ex. values: ns1:name=percona,ns2:run=nginx auxiliaryAppInfo: '' chaosServiceAccount: nginx-sa monitoring: false components: runner: image: 'litmuschaos/chaos-executor:1.0.0' type: 'go' # It can be delete/retain jobCleanUpPolicy: 'delete' experiments: - name: cpu-hog spec: components: env: # set chaos duration (in sec) as desired - name: TOTAL_CHAOS_DURATION value: '60' # set chaos platform as desired - name: PLATFORM value: 'GKE' # chaos lib used to inject the chaos - name: LIB value: 'litmus'