Updates GCP experiment charts (#548)

* removed .DS_Store

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* corrected gcp-vm-instance-stop-by-label charts

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated experiment charts

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated experiment descriptions

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated instance-stop-by-label charts for INSTANCE_AFFECTED_PERC env

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>
This commit is contained in:
Neelanjan Manna
2022-06-02 15:16:32 +05:30
committed by GitHub
parent 81d5c4017e
commit de27fd9170
9 changed files with 22 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
gcp vm disk loss by label experiment detaches the target persistent disk volumes by label for a fixed duration of time
Causes loss of a non-boot storage persistent disk from a GCP VM instance filtered by a label for a specified duration before attaching them back
kind: ChaosExperiment
metadata:
name: gcp-vm-disk-loss-by-label

View File

@@ -8,7 +8,7 @@ metadata:
spec:
displayName: gcp-vm-disk-loss-by-label
categoryDescription: >
gcp vm disk loss by label experiment detaches the target persistent disk volumes by label for a fixed duration of time
Causes loss of a non-boot storage persistent disk from a GCP VM instance filtered by a label for a specified duration before attaching them back
keywords:
- "Disk"
- "GCP"

View File

@@ -1,7 +1,7 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Causes loss of a non-boot storage persistent disk from a GCP VM instance for a specified duration of time
Causes loss of a non-boot storage persistent disk from a GCP VM instance for a specified duration before attaching them back
kind: ChaosExperiment
metadata:
name: gcp-vm-disk-loss

View File

@@ -8,7 +8,7 @@ metadata:
spec:
displayName: gcp-vm-disk-loss
categoryDescription: >
Causes loss of a non-boot storage persistent disk from a GCP VM instance for a specified duration of time
Causes loss of a non-boot storage persistent disk from a GCP VM instance for a specified duration before attaching them back
keywords:
- "Disk"
- "GCP"

View File

@@ -39,3 +39,8 @@ spec:
# enable it if the target instances are a part of a managed instance group
- name: MANAGED_INSTANCE_GROUP
value: 'disable'
# set the percentage value of the instances with the given label
# which should be targeted as part of the chaos injection
- name: INSTANCE_AFFECTED_PERC
value: ''

View File

@@ -1,7 +1,7 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
gcp-vm-instance stop by label experiment causes gcp vm instances specified by a label to be stopped for a given time duration
Stops GCP VM instances and GKE nodes filtered by a label for a specified duration and later restarts them
kind: ChaosExperiment
metadata:
name: gcp-vm-instance-stop-by-label
@@ -79,6 +79,11 @@ spec:
- name: MANAGED_INSTANCE_GROUP
value: 'disable'
# set the percentage value of the instances with the given label
# which should be targeted as part of the chaos injection
- name: INSTANCE_AFFECTED_PERC
value: ''
labels:
name: gcp-vm-instance-stop-by-label
app.kubernetes.io/part-of: litmus

View File

@@ -1,14 +1,14 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: gcp
name: gcp-vm-instance-stop-by-label
version: 0.1.0
annotations:
categories: gcp
spec:
displayName: gcp-vm-disk-loss-by-label
displayName: gcp-vm-instance-stop-by-label
categoryDescription: >
Stops GCP VM instances and GKE nodes filtered by a label for a specified duration of time and later restarts them
Stops GCP VM instances and GKE nodes filtered by a label for a specified duration and later restarts them
keywords:
- "VM"
- "GCP"
@@ -26,8 +26,8 @@ spec:
app.kubernetes.io/version: latest
links:
- name: Documentation
url: https://litmuschaos.github.io/litmus/experiments/categories/gcp/gcp-vm-disk-loss-by-label/
url: https://litmuschaos.github.io/litmus/experiments/categories/gcp/gcp-vm-instance-stop-by-label/
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/gcp/gcp-vm-disk-loss-by-label/experiment.yaml
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/gcp/gcp-vm-instance-stop-by-label/experiment.yaml

View File

@@ -1,7 +1,7 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Stops GCP VM instances and GKE nodes for a specified duration of time and later restarts them
Stops GCP VM instances and GKE nodes for a specified duration and later restarts them
kind: ChaosExperiment
metadata:
name: gcp-vm-instance-stop

View File

@@ -8,7 +8,7 @@ metadata:
spec:
displayName: gcp-vm-instance-stop
categoryDescription: >
Stops GCP VM instances and GKE nodes for a specified duration of time and later restarts them
Stops GCP VM instances and GKE nodes for a specified duration and later restarts them
keywords:
- "VM"
- "GCP"