From 87dc1c8d542bf7feeaa58285544be49688bcfbbb Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Wed, 14 Aug 2024 19:23:45 +0900 Subject: [PATCH] Rename env to EC2_INSTANCE_TAG (#4815) Signed-off-by: Jongwoo Han --- .../categories/aws/AWS-experiments-tunables.md | 4 ++-- .../categories/aws/common/chaos-interval.yaml | 6 +++--- .../categories/aws/common/managed-nodegroup.yaml | 2 +- .../experiments/categories/aws/ec2-stop-by-tag.md | 12 ++++++------ .../instance-affected-percentage.yaml | 2 +- .../categories/aws/ec2-stop-by-tag/instance-tag.yaml | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mkdocs/docs/experiments/categories/aws/AWS-experiments-tunables.md b/mkdocs/docs/experiments/categories/aws/AWS-experiments-tunables.md index cc15c760ccc..1ef80eaebf4 100644 --- a/mkdocs/docs/experiments/categories/aws/AWS-experiments-tunables.md +++ b/mkdocs/docs/experiments/categories/aws/AWS-experiments-tunables.md @@ -31,7 +31,7 @@ spec: - name: REGION value: '' # 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: '' - - name: INSTANCE_TAG + - name: EC2_INSTANCE_TAG value: 'key:value' ``` diff --git a/mkdocs/docs/experiments/categories/aws/common/chaos-interval.yaml b/mkdocs/docs/experiments/categories/aws/common/chaos-interval.yaml index ea64a56c653..0d1ed988d5f 100644 --- a/mkdocs/docs/experiments/categories/aws/common/chaos-interval.yaml +++ b/mkdocs/docs/experiments/categories/aws/common/chaos-interval.yaml @@ -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: '' - - name: INSTANCE_TAG + - name: EC2_INSTANCE_TAG value: 'key:value' - \ No newline at end of file + diff --git a/mkdocs/docs/experiments/categories/aws/common/managed-nodegroup.yaml b/mkdocs/docs/experiments/categories/aws/common/managed-nodegroup.yaml index e36984f453e..f463ffe806e 100644 --- a/mkdocs/docs/experiments/categories/aws/common/managed-nodegroup.yaml +++ b/mkdocs/docs/experiments/categories/aws/common/managed-nodegroup.yaml @@ -21,7 +21,7 @@ spec: - name: REGION value: '' # tag of the ec2 instance - - name: INSTANCE_TAG + - name: EC2_INSTANCE_TAG value: 'key:value' - name: TOTAL_CHAOS_DURATION value: '60' diff --git a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag.md b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag.md index a3b8b6b2154..1e7cb1aa7c6 100644 --- a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag.md +++ b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag.md @@ -137,9 +137,9 @@ When the MANAGED_NODEGROUP is enable then the experiment will not try to start t Notes - INSTANCE_TAG + EC2_INSTANCE_TAG Instance Tag to filter the target ec2 instance. - The INSTANCE_TAG should be provided as key:value ex: team:devops + The EC2_INSTANCE_TAG should be provided as key:value ex: team:devops REGION @@ -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 diff --git a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-affected-percentage.yaml b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-affected-percentage.yaml index a6b97b60b86..ae19b56954f 100644 --- a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-affected-percentage.yaml +++ b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-affected-percentage.yaml @@ -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 diff --git a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-tag.yaml b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-tag.yaml index b862483106c..4c8772d79ed 100644 --- a/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-tag.yaml +++ b/mkdocs/docs/experiments/categories/aws/ec2-stop-by-tag/instance-tag.yaml @@ -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