-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from harness/fix-all-faults
chore(chaos): Update 'experiment' to 'fault' in fault docs and update tutorials
- Loading branch information
Showing
143 changed files
with
895 additions
and
947 deletions.
There are no files selected for viewing
73 changes: 0 additions & 73 deletions
73
docs/chaos-engineering/chaos-faults/aws/aws-experiments-tunables.md
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
docs/chaos-engineering/chaos-faults/aws/aws-fault-tunables.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: Common AWS Fault Tunables | ||
--- | ||
AWS specific fault tunables. | ||
|
||
### Managed Nodegroup | ||
|
||
It specifies whether or not AWS EC2 instances are part of managed nodeGroups. If instances belong to the managed nodeGroups then provide `MANAGED_NODEGROUP` as `enable` else provide it as `disable`. The default value is `disabled`. | ||
|
||
Use the following example to tune this: | ||
|
||
[embedmd]:# (./static/manifests/common/managed-nodegroup.yaml yaml) | ||
```yaml | ||
# it provided as enable if instances are part of self managed groups | ||
# it is applicable for [ec2-terminate-by-id, ec2-terminate-by-tag] | ||
apiVersion: litmuschaos.io/v1alpha1 | ||
kind: ChaosEngine | ||
metadata: | ||
name: engine-nginx | ||
spec: | ||
engineState: "active" | ||
chaosServiceAccount: litmus-admin | ||
experiments: | ||
- name: ec2-terminate-by-tag | ||
spec: | ||
components: | ||
env: | ||
# if instance is part of a managed node-group | ||
# supports enable and disable values, default value: disable | ||
- name: MANAGED_NODEGROUP | ||
value: 'enable' | ||
# region for the EC2 instance | ||
- name: REGION | ||
value: 'us-east-1' | ||
# tag of the EC2 instance | ||
- name: INSTANCE_TAG | ||
value: 'key:value' | ||
- name: TOTAL_CHAOS_DURATION | ||
VALUE: '60' | ||
``` |
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
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
Oops, something went wrong.