Skip to content

Commit 87dc1c8

Browse files
authored
Rename env to EC2_INSTANCE_TAG (#4815)
Signed-off-by: Jongwoo Han <[email protected]>
1 parent a325a0e commit 87dc1c8

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

mkdocs/docs/experiments/categories/aws/AWS-experiments-tunables.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
- name: REGION
3232
value: '<region for instances>'
3333
# tag of the ec2 instance
34-
- name: INSTANCE_TAG
34+
- name: EC2_INSTANCE_TAG
3535
value: 'key:value'
3636
- name: TOTAL_CHAOS_DURATION
3737
value: '60'
@@ -67,7 +67,7 @@ spec:
6767
value: '60'
6868
- name: REGION
6969
value: '<region for instances>'
70-
- name: INSTANCE_TAG
70+
- name: EC2_INSTANCE_TAG
7171
value: 'key:value'
7272
7373
```

mkdocs/docs/experiments/categories/aws/common/chaos-interval.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ spec:
1212
spec:
1313
components:
1414
env:
15-
# delay between each iteration of chaos
15+
# delay between each iteration of chaos
1616
- name: CHAOS_INTERVAL
1717
value: '15'
1818
# time duration for the chaos execution
1919
- name: TOTAL_CHAOS_DURATION
2020
value: '60'
2121
- name: REGION
2222
value: '<region for instances>'
23-
- name: INSTANCE_TAG
23+
- name: EC2_INSTANCE_TAG
2424
value: 'key:value'
25-
25+

mkdocs/docs/experiments/categories/aws/common/managed-nodegroup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- name: REGION
2222
value: '<region for instances>'
2323
# tag of the ec2 instance
24-
- name: INSTANCE_TAG
24+
- name: EC2_INSTANCE_TAG
2525
value: 'key:value'
2626
- name: TOTAL_CHAOS_DURATION
2727
value: '60'

mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ When the MANAGED_NODEGROUP is enable then the experiment will not try to start t
137137
<th> Notes </th>
138138
</tr>
139139
<tr>
140-
<td> INSTANCE_TAG </td>
140+
<td> EC2_INSTANCE_TAG </td>
141141
<td> Instance Tag to filter the target ec2 instance.</td>
142-
<td> The <code>INSTANCE_TAG</code> should be provided as <code>key:value</code> ex: <code>team:devops</code></td>
142+
<td> The <code>EC2_INSTANCE_TAG</code> should be provided as <code>key:value</code> ex: <code>team:devops</code></td>
143143
</tr>
144144
<tr>
145145
<td> REGION </td>
@@ -196,7 +196,7 @@ Refer the [common attributes](../common/common-tunables-for-all-experiments.md)
196196

197197
### Target single instance
198198

199-
It will stop a random single ec2 instance with the given `INSTANCE_TAG` tag and the `REGION` region.
199+
It will stop a random single ec2 instance with the given `EC2_INSTANCE_TAG` tag and the `REGION` region.
200200

201201
Use the following example to tune this:
202202

@@ -217,7 +217,7 @@ spec:
217217
components:
218218
env:
219219
# tag of the ec2 instance
220-
- name: INSTANCE_TAG
220+
- name: EC2_INSTANCE_TAG
221221
value: 'key:value'
222222
# region for the ec2 instance
223223
- name: REGION
@@ -228,7 +228,7 @@ spec:
228228
229229
### Target Percent of instances
230230
231-
It will stop the `INSTANCE_AFFECTED_PERC` percentage of ec2 instances with the given `INSTANCE_TAG` tag and `REGION` region.
231+
It will stop the `INSTANCE_AFFECTED_PERC` percentage of ec2 instances with the given `EC2_INSTANCE_TAG` tag and `REGION` region.
232232

233233
Use the following example to tune this:
234234

@@ -252,7 +252,7 @@ spec:
252252
- name: INSTANCE_AFFECTED_PERC
253253
value: '100'
254254
# tag of the ec2 instance
255-
- name: INSTANCE_TAG
255+
- name: EC2_INSTANCE_TAG
256256
value: 'key:value'
257257
# region for the ec2 instance
258258
- name: REGION

mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-affected-percentage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
- name: INSTANCE_AFFECTED_PERC
1717
value: '100'
1818
# tag of the ec2 instance
19-
- name: INSTANCE_TAG
19+
- name: EC2_INSTANCE_TAG
2020
value: 'key:value'
2121
# region for the ec2 instance
2222
- name: REGION

mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-tag.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
components:
1414
env:
1515
# tag of the ec2 instance
16-
- name: INSTANCE_TAG
16+
- name: EC2_INSTANCE_TAG
1717
value: 'key:value'
1818
# region for the ec2 instance
1919
- name: REGION

0 commit comments

Comments
 (0)