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 apiVersion: litmuschaos.io/v1alpha1
description: description:
message: | 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 kind: ChaosExperiment
metadata: metadata:
name: gcp-vm-disk-loss-by-label name: gcp-vm-disk-loss-by-label

View File

@@ -8,7 +8,7 @@ metadata:
spec: spec:
displayName: gcp-vm-disk-loss-by-label displayName: gcp-vm-disk-loss-by-label
categoryDescription: > 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: keywords:
- "Disk" - "Disk"
- "GCP" - "GCP"

View File

@@ -1,7 +1,7 @@
apiVersion: litmuschaos.io/v1alpha1 apiVersion: litmuschaos.io/v1alpha1
description: description:
message: | 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 kind: ChaosExperiment
metadata: metadata:
name: gcp-vm-disk-loss name: gcp-vm-disk-loss

View File

@@ -8,7 +8,7 @@ metadata:
spec: spec:
displayName: gcp-vm-disk-loss displayName: gcp-vm-disk-loss
categoryDescription: > 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: keywords:
- "Disk" - "Disk"
- "GCP" - "GCP"

View File

@@ -39,3 +39,8 @@ spec:
# enable it if the target instances are a part of a managed instance group # enable it if the target instances are a part of a managed instance group
- name: MANAGED_INSTANCE_GROUP - name: MANAGED_INSTANCE_GROUP
value: 'disable' 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 apiVersion: litmuschaos.io/v1alpha1
description: description:
message: | 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 kind: ChaosExperiment
metadata: metadata:
name: gcp-vm-instance-stop-by-label name: gcp-vm-instance-stop-by-label
@@ -79,6 +79,11 @@ spec:
- name: MANAGED_INSTANCE_GROUP - name: MANAGED_INSTANCE_GROUP
value: 'disable' 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: labels:
name: gcp-vm-instance-stop-by-label name: gcp-vm-instance-stop-by-label
app.kubernetes.io/part-of: litmus app.kubernetes.io/part-of: litmus

View File

@@ -1,14 +1,14 @@
apiVersion: litmuchaos.io/v1alpha1 apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion kind: ChartServiceVersion
metadata: metadata:
name: gcp name: gcp-vm-instance-stop-by-label
version: 0.1.0 version: 0.1.0
annotations: annotations:
categories: gcp categories: gcp
spec: spec:
displayName: gcp-vm-disk-loss-by-label displayName: gcp-vm-instance-stop-by-label
categoryDescription: > 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: keywords:
- "VM" - "VM"
- "GCP" - "GCP"
@@ -26,8 +26,8 @@ spec:
app.kubernetes.io/version: latest app.kubernetes.io/version: latest
links: links:
- name: Documentation - 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: icon:
- url: - url:
mediatype: "" 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 apiVersion: litmuschaos.io/v1alpha1
description: description:
message: | 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 kind: ChaosExperiment
metadata: metadata:
name: gcp-vm-instance-stop name: gcp-vm-instance-stop

View File

@@ -8,7 +8,7 @@ metadata:
spec: spec:
displayName: gcp-vm-instance-stop displayName: gcp-vm-instance-stop
categoryDescription: > 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: keywords:
- "VM" - "VM"
- "GCP" - "GCP"