Created
March 29, 2021 00:15
-
-
Save richardsonlima/4400c575d73856ac20d516c71e9ce563 to your computer and use it in GitHub Desktop.
frontend-autoscale-chaos.yaml
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: ChaosEngine | |
| metadata: | |
| name: frontend-autoscale-chaos | |
| namespace: richardsonlima-chaos-demo | |
| spec: | |
| # It can be true/false | |
| annotationCheck: 'false' | |
| # It can be active/stop | |
| engineState: 'active' | |
| #ex. values: ns1:name=percona,ns2:run=nginx | |
| auxiliaryAppInfo: '' | |
| appinfo: | |
| appns: 'demo' | |
| applabel: 'app=frontend' | |
| appkind: 'deployment' | |
| chaosServiceAccount: chaos-sa | |
| monitoring: false | |
| # It can be delete/retain | |
| jobCleandUpPolicy: 'delete' | |
| experiments: | |
| - name: pod-autoscaler | |
| spec: | |
| components: | |
| env: | |
| # set chaos duration (in sec) as desired | |
| - name: TOTAL_CHAOS_DURATION | |
| value: '60' | |
| # number of replicas to scale | |
| - name: REPLICA_COUNT | |
| value: '20' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment