Created
May 20, 2020 14:53
-
-
Save ksatchit/5c587b0ba5cc55079a9086846140b0c4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: ChaosSchedule | |
metadata: | |
name: schedule-nginx | |
spec: | |
schedule: | |
type: "repeat" | |
executionTime: "2020-05-11T20:30:00Z" # type=once | |
startTime: "2020-05-12T05:47:00Z" # type=repeat (current UTC Time) | |
endTime: "2020-05-12T05:52:00Z" # type=repeat (desired UTC Time) | |
minChaosInterval: "2m" # minutes (ex:"10m") or hours (ex:"2h") | |
instanceCount: "2" # instances of chaos over duration | |
includedDays: "mon,tue,wed" # whitelist of days for chaos | |
engineTemplateSpec: # same as .spec of chaosengine | |
appinfo: | |
appns: 'default' | |
applabel: 'app=nginx' | |
appkind: 'deployment' | |
annotationCheck: 'true' | |
# It can be active/stop | |
engineState: 'active' | |
auxiliaryAppInfo: '' | |
chaosServiceAccount: pod-delete-sa | |
monitoring: false | |
jobCleanUpPolicy: 'delete' | |
experiments: | |
- name: pod-delete | |
spec: | |
components: | |
env: | |
- name: TOTAL_CHAOS_DURATION | |
value: '30' | |
- name: CHAOS_INTERVAL | |
value: '10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment