diff --git a/charts/openebs/experiments.yaml b/charts/openebs/experiments.yaml index ed9b6a8..825a4b2 100644 --- a/charts/openebs/experiments.yaml +++ b/charts/openebs/experiments.yaml @@ -563,6 +563,101 @@ spec: --- +--- +apiVersion: litmuschaos.io/v1alpha1 +description: + message: | + Kill the OpenEBS NFS provisioner container and check if pods consuming the NFS PVs continue to be available and volumes are writable (RWM mode) +kind: ChaosExperiment +metadata: + labels: + litmuschaos.io/name: openebs + name: openebs-nfs-provisioner-kill + version: 0.1.1 +spec: + definition: + scope: Cluster + permissions: + - apiGroups: + - "" + - "apps" + - "litmuschaos.io" + - "batch" + - "extensions" + - "storage.k8s.io" + resources: + - "pods" + - "pods/exec" + - "pods/log" + - "deployments" + - "events" + - "jobs" + - "configmaps" + - "services" + - "persistentvolumeclaims" + - "storageclasses" + - "persistentvolumes" + - "chaosexperiments" + - "chaosresults" + - "chaosengines" + verbs: + - "create" + - "list" + - "get" + - "patch" + - "update" + - "delete" + - apiGroups: + - "" + resources: + - "nodes" + verbs: + - "get" + - "list" + + image: "litmuschaos/ansible-runner:latest" + args: + - -c + - ansible-playbook ./experiments/openebs/openebs-nfs-provisioner-kill/openebs_nfs_provisioner_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 + command: + - /bin/bash + env: + - name: ANSIBLE_STDOUT_CALLBACK + value: 'default' + + # NFS default container + - name: TARGET_CONTAINER + value: 'nfs-provisioner' + + # Period to wait before injection of chaos in sec + - name: RAMP_TIME + value: '' + + # It supports pumba and containerd + - name: LIB + value: 'pumba' + + # LIB_IMAGE can be - gaiaadm/pumba:0.6.5, gprasath/crictl:ci + # For pumba image use: gaiaadm/pumba:0.6.5 + # For containerd image use: gprasath/crictl:ci + - name: LIB_IMAGE + value: 'gaiaadm/pumba:0.6.5' + + # provide the chaos interval + - name: CHAOS_INTERVAL + value: '10' + + # provide the total chaos duration + - name: TOTAL_CHAOS_DURATION + value: '20' + + labels: + name: openebs-nfs-provisioner-kill + configmaps: + - name: openebs-nfs-provisioner-kill + mountPath: /mnt/ +--- + apiVersion: litmuschaos.io/v1alpha1 description: message: | diff --git a/charts/openebs/openebs-nfs-provisioner-kill/experiment.yaml b/charts/openebs/openebs-nfs-provisioner-kill/experiment.yaml index abf0c9d..2bae882 100644 --- a/charts/openebs/openebs-nfs-provisioner-kill/experiment.yaml +++ b/charts/openebs/openebs-nfs-provisioner-kill/experiment.yaml @@ -8,7 +8,7 @@ metadata: labels: litmuschaos.io/name: openebs name: openebs-nfs-provisioner-kill - version: 0.1.0 + version: 0.1.1 spec: definition: scope: Cluster diff --git a/charts/openebs/openebs-nfs-provisioner-kill/openebs-nfs-provisioner-kill-chaos.chartserviceversion.yaml b/charts/openebs/openebs-nfs-provisioner-kill/openebs-nfs-provisioner-kill-chaos.chartserviceversion.yaml index 091c898..020fdc7 100644 --- a/charts/openebs/openebs-nfs-provisioner-kill/openebs-nfs-provisioner-kill-chaos.chartserviceversion.yaml +++ b/charts/openebs/openebs-nfs-provisioner-kill/openebs-nfs-provisioner-kill-chaos.chartserviceversion.yaml @@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1 kind: ChartServiceVersion metadata: name: openebs-nfs-provisioner-kill - version: 0.1.0 + version: 0.1.1 annotations: categories: OpenEBS vendor: CNCF diff --git a/charts/openebs/openebs-pool-container-failure/openebs-pool-container-failure.chartserviceversion.yaml b/charts/openebs/openebs-pool-container-failure/openebs-pool-container-failure.chartserviceversion.yaml index b1531d3..da173d3 100644 --- a/charts/openebs/openebs-pool-container-failure/openebs-pool-container-failure.chartserviceversion.yaml +++ b/charts/openebs/openebs-pool-container-failure/openebs-pool-container-failure.chartserviceversion.yaml @@ -3,7 +3,7 @@ kind: ChartServiceVersion metadata: createdAt: 2019-11-13T10:28:08Z name: openebs-pool-container-failure - version: 0.1.11 + version: 0.1.12 annotations: categories: OpenEBS vendor: CNCF