Rename env to EC2_INSTANCE_TAG (#4815)
Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
This commit is contained in:
parent
a325a0ebc4
commit
87dc1c8d54
|
@ -31,7 +31,7 @@ spec:
|
|||
- name: REGION
|
||||
value: '<region for instances>'
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
@ -67,7 +67,7 @@ spec:
|
|||
value: '60'
|
||||
- name: REGION
|
||||
value: '<region for instances>'
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
|
||||
```
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
spec:
|
||||
components:
|
||||
env:
|
||||
# delay between each iteration of chaos
|
||||
# delay between each iteration of chaos
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '15'
|
||||
# time duration for the chaos execution
|
||||
|
@ -20,6 +20,6 @@ spec:
|
|||
value: '60'
|
||||
- name: REGION
|
||||
value: '<region for instances>'
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ spec:
|
|||
- name: REGION
|
||||
value: '<region for instances>'
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
|
|
@ -137,9 +137,9 @@ When the MANAGED_NODEGROUP is enable then the experiment will not try to start t
|
|||
<th> Notes </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> INSTANCE_TAG </td>
|
||||
<td> EC2_INSTANCE_TAG </td>
|
||||
<td> Instance Tag to filter the target ec2 instance.</td>
|
||||
<td> The <code>INSTANCE_TAG</code> should be provided as <code>key:value</code> ex: <code>team:devops</code></td>
|
||||
<td> The <code>EC2_INSTANCE_TAG</code> should be provided as <code>key:value</code> ex: <code>team:devops</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> REGION </td>
|
||||
|
@ -196,7 +196,7 @@ Refer the [common attributes](../common/common-tunables-for-all-experiments.md)
|
|||
|
||||
### Target single instance
|
||||
|
||||
It will stop a random single ec2 instance with the given `INSTANCE_TAG` tag and the `REGION` region.
|
||||
It will stop a random single ec2 instance with the given `EC2_INSTANCE_TAG` tag and the `REGION` region.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -217,7 +217,7 @@ spec:
|
|||
components:
|
||||
env:
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
# region for the ec2 instance
|
||||
- name: REGION
|
||||
|
@ -228,7 +228,7 @@ spec:
|
|||
|
||||
### Target Percent of instances
|
||||
|
||||
It will stop the `INSTANCE_AFFECTED_PERC` percentage of ec2 instances with the given `INSTANCE_TAG` tag and `REGION` region.
|
||||
It will stop the `INSTANCE_AFFECTED_PERC` percentage of ec2 instances with the given `EC2_INSTANCE_TAG` tag and `REGION` region.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -252,7 +252,7 @@ spec:
|
|||
- name: INSTANCE_AFFECTED_PERC
|
||||
value: '100'
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
# region for the ec2 instance
|
||||
- name: REGION
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
- name: INSTANCE_AFFECTED_PERC
|
||||
value: '100'
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
# region for the ec2 instance
|
||||
- name: REGION
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
components:
|
||||
env:
|
||||
# tag of the ec2 instance
|
||||
- name: INSTANCE_TAG
|
||||
- name: EC2_INSTANCE_TAG
|
||||
value: 'key:value'
|
||||
# region for the ec2 instance
|
||||
- name: REGION
|
||||
|
|
Loading…
Reference in New Issue