Created
May 21, 2020 14:07
-
-
Save gtfisher/924f709d4a360c142e5dd54fa88a862c to your computer and use it in GitHub Desktop.
litmusChaos Chaos engine yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosEngine | |
metadata: | |
name: nginx-chaos | |
namespace: nginx | |
spec: | |
annotationCheck: 'true' | |
engineState: 'active' | |
appinfo: | |
appns: 'nginx' | |
applabel: 'app=nginx' | |
appkind: 'deployment' | |
chaosServiceAccount: container-kill-sa | |
# use retain to keep the job for debug | |
jobCleanUpPolicy: 'delete' | |
experiments: | |
- name: container-kill | |
spec: | |
components: | |
env: | |
# specify the name of the container to be killed | |
- name: TARGET_CONTAINER | |
value: 'nginx' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment