Chore(New Charts): Add charts for vm-poweroff experiment (#433)
* Chore(New Charts): Adding Charts for vm-delete experiment Signed-off-by: Ubuntu <ubuntu@ip-172-31-31-101.ap-south-1.compute.internal>
This commit is contained in:
82
charts/vmware/vm-poweroff/experiment.yaml
Normal file
82
charts/vmware/vm-poweroff/experiment.yaml
Normal file
@@ -0,0 +1,82 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
stops a vm for a certain chaos duration
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: vm-poweroff
|
||||
labels:
|
||||
name: vm-poweroff
|
||||
app.kubernetes.io/part-of: litmus
|
||||
app.kubernetes.io/component: chaosexperiment
|
||||
app.kubernetes.io/version: latest
|
||||
spec:
|
||||
definition:
|
||||
scope: Cluster
|
||||
permissions:
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "batch"
|
||||
- "litmuschaos.io"
|
||||
resources:
|
||||
- "jobs"
|
||||
- "events"
|
||||
- "pods/log"
|
||||
- "pods/exec"
|
||||
- "secrets"
|
||||
- "pods"
|
||||
- "chaosengines"
|
||||
- "chaosexperiments"
|
||||
- "chaosresults"
|
||||
verbs:
|
||||
- "create"
|
||||
- "list"
|
||||
- "get"
|
||||
- "update"
|
||||
- "patch"
|
||||
- "delete"
|
||||
image: "litmuschaos/go-runner:latest"
|
||||
args:
|
||||
- -c
|
||||
- ./experiments -name vm-poweroff
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: VCENTERSERVER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: vcenter-secret
|
||||
key: VCENTERSERVER
|
||||
|
||||
- name: VCENTERUSER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: vcenter-secret
|
||||
key: VCENTERUSER
|
||||
|
||||
- name: VCENTERPASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: vcenter-secret
|
||||
key: VCENTERPASS
|
||||
|
||||
# provide the vm moid
|
||||
- name: APP_VM_MOID
|
||||
value: ''
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '30'
|
||||
|
||||
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
labels:
|
||||
experiment: vm-poweroff
|
||||
app.kubernetes.io/part-of: litmus
|
||||
app.kubernetes.io/component: experiment-job
|
||||
app.kubernetes.io/version: latest
|
Reference in New Issue
Block a user