added semver maker and two chaos experiments
Signed-off-by: rajdas <mail.rajdas@gmail.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Network delay between Pod and PVC belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
labels:
|
||||
litmuschaos.io/name: kubernetes
|
||||
name: pod-network-delay
|
||||
namespace: litmus
|
||||
version: {{ VERSION }}
|
||||
|
||||
spec:
|
||||
definition:
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/chaos/openebs_target_network_delay/test.yml -i /etc/ansible/hosts -i /etc/ansible/hosts
|
||||
-vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: "default"
|
||||
|
||||
- name: OPERATOR_NAMESPACE
|
||||
value: "openebs"
|
||||
|
||||
- name: APP_NAMESPACE
|
||||
value: "default" # NS of deployed app (Mandatory)
|
||||
|
||||
- name: APP_LABEL
|
||||
value: "" # deployed app label (Mandatory)
|
||||
|
||||
- name: APP_PVC
|
||||
value: "" # PVC name (Mandatory)
|
||||
|
||||
- name: NETWORK_DELAY
|
||||
value: "240000" # in milliseconds (Mandatory)
|
||||
|
||||
- name: CHAOS_DURATION
|
||||
value: "240" # in seconds (Mandatory)
|
||||
|
||||
- name: LIVENESS_APP_LABEL
|
||||
value: "" # (Optional) If Liveness probe enable, mention the app_label else skip
|
||||
|
||||
- name: LIVENESS_APP_NAMESPACE
|
||||
value: "" # (Optional) If Liveness probe enable, mention the app_label else skip
|
||||
|
||||
- name: DATA_PERSISTENCY
|
||||
value: "enable"
|
||||
|
||||
image: "" # (Optional)
|
||||
labels:
|
||||
name: pod-network-delay
|
||||
litmusbook: /experiments/chaos/openebs_target_network_delay/run_litmus_test.yml
|
55
charts/openebs/network/experiments/openebs_nd.version.yaml
Normal file
55
charts/openebs/network/experiments/openebs_nd.version.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Network delay between Pod and PVC belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
labels:
|
||||
litmuschaos.io/name: kubernetes
|
||||
name: pod-network-delay
|
||||
namespace: litmus
|
||||
version: 0.1.0
|
||||
|
||||
spec:
|
||||
definition:
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/chaos/openebs_target_network_delay/test.yml -i /etc/ansible/hosts -i /etc/ansible/hosts
|
||||
-vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: "default"
|
||||
|
||||
- name: OPERATOR_NAMESPACE
|
||||
value: "openebs"
|
||||
|
||||
- name: APP_NAMESPACE
|
||||
value: "default" # NS of deployed app (Mandatory)
|
||||
|
||||
- name: APP_LABEL
|
||||
value: "" # deployed app label (Mandatory)
|
||||
|
||||
- name: APP_PVC
|
||||
value: "" # PVC name (Mandatory)
|
||||
|
||||
- name: NETWORK_DELAY
|
||||
value: "240000" # in milliseconds (Mandatory)
|
||||
|
||||
- name: CHAOS_DURATION
|
||||
value: "240" # in seconds (Mandatory)
|
||||
|
||||
- name: LIVENESS_APP_LABEL
|
||||
value: "" # (Optional) If Liveness probe enable, mention the app_label else skip
|
||||
|
||||
- name: LIVENESS_APP_NAMESPACE
|
||||
value: "" # (Optional) If Liveness probe enable, mention the app_label else skip
|
||||
|
||||
- name: DATA_PERSISTENCY
|
||||
value: "enable"
|
||||
|
||||
image: "" # (Optional)
|
||||
labels:
|
||||
name: pod-network-delay
|
||||
litmusbook: /experiments/chaos/openebs_target_network_delay/run_litmus_test.yml
|
54
charts/openebs/network/experiments/openebs_nl.version.yaml
Normal file
54
charts/openebs/network/experiments/openebs_nl.version.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Network loss between Pod and PVC belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
labels:
|
||||
litmuschaos.io/name: kubernetes
|
||||
name: pod-network-loss
|
||||
namespace: litmus
|
||||
version: 0.1.0
|
||||
spec:
|
||||
definition:
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/chaos/openebs_target_network_loss/test.yml -i /etc/ansible/hosts -i /etc/ansible/hosts
|
||||
-vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: "default"
|
||||
|
||||
- name: OPERATOR_NAMESPACE
|
||||
value: "openebs"
|
||||
|
||||
- name: APP_NAMESPACE
|
||||
value: "default" # NS of deployed app (Mandatory)
|
||||
|
||||
- name: APP_LABEL
|
||||
value: "" # deployed app label (Mandatory)
|
||||
|
||||
- name: APP_PVC
|
||||
value: "" # PVC name (Mandatory)
|
||||
|
||||
- name: NETWORK_DELAY
|
||||
value: "240000" # in milliseconds (Mandatory)
|
||||
|
||||
- name: CHAOS_DURATION
|
||||
value: "240" # in seconds (Mandatory)
|
||||
|
||||
- name: LIVENESS_APP_LABEL
|
||||
value: "" # (Optional) If Liveness probe is enable, mention the app_label else skip
|
||||
|
||||
- name: LIVENESS_APP_NAMESPACE
|
||||
value: "" # # (Optional) If Liveness probe is enable, mention the app_namespace else skip
|
||||
|
||||
- name: DATA_PERSISTENCY
|
||||
value: "enable"
|
||||
|
||||
image: "" # (Optional)
|
||||
labels:
|
||||
name: pod-network-loss
|
||||
litmusbook: /experiments/chaos/openebs_target_network_loss/run_litmus_test.yml
|
@@ -0,0 +1,54 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Network loss between Pod and PVC belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
labels:
|
||||
litmuschaos.io/name: kubernetes
|
||||
name: pod-network-loss
|
||||
namespace: litmus
|
||||
version: {{ VERSION }}
|
||||
spec:
|
||||
definition:
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/chaos/openebs_target_network_loss/test.yml -i /etc/ansible/hosts -i /etc/ansible/hosts
|
||||
-vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: "default"
|
||||
|
||||
- name: OPERATOR_NAMESPACE
|
||||
value: "openebs"
|
||||
|
||||
- name: APP_NAMESPACE
|
||||
value: "default" # NS of deployed app (Mandatory)
|
||||
|
||||
- name: APP_LABEL
|
||||
value: "" # deployed app label (Mandatory)
|
||||
|
||||
- name: APP_PVC
|
||||
value: "" # PVC name (Mandatory)
|
||||
|
||||
- name: NETWORK_DELAY
|
||||
value: "240000" # in milliseconds (Mandatory)
|
||||
|
||||
- name: CHAOS_DURATION
|
||||
value: "240" # in seconds (Mandatory)
|
||||
|
||||
- name: LIVENESS_APP_LABEL
|
||||
value: "" # (Optional) If Liveness probe is enable, mention the app_label else skip
|
||||
|
||||
- name: LIVENESS_APP_NAMESPACE
|
||||
value: "" # # (Optional) If Liveness probe is enable, mention the app_namespace else skip
|
||||
|
||||
- name: DATA_PERSISTENCY
|
||||
value: "enable"
|
||||
|
||||
image: "" # (Optional)
|
||||
labels:
|
||||
name: pod-network-loss
|
||||
litmusbook: /experiments/chaos/openebs_target_network_loss/run_litmus_test.yml
|
@@ -22,7 +22,7 @@ spec:
|
||||
- OpenEBS
|
||||
- CAS
|
||||
- Storage
|
||||
version: v0.1.0
|
||||
version: 0.1.0
|
||||
maturity: alpha
|
||||
maintainers:
|
||||
- name: ksatchit
|
||||
|
Reference in New Issue
Block a user