feat(network-chaos): Adding support for containerd/crio in network-chaos (#321)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
5705ef61d6
commit
218ed3a658
@@ -55,8 +55,8 @@ spec:
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '10'
|
||||
|
||||
# provide the container runtime path for containerd
|
||||
# applicable only for containerd runtime
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
||||
|
@@ -37,3 +37,14 @@ spec:
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
@@ -61,7 +61,7 @@ spec:
|
||||
value: ''
|
||||
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
value: 'litmus'
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
@@ -69,5 +69,16 @@ spec:
|
||||
|
||||
- name: TARGET_POD
|
||||
value: ''
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
labels:
|
||||
name: pod-network-corruption
|
||||
|
@@ -41,3 +41,14 @@ spec:
|
||||
#If not provided it will take the first container of the target pod
|
||||
- name: TARGET_CONTAINER
|
||||
value: ''
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
@@ -54,7 +54,7 @@ spec:
|
||||
value: '100' # in percentage
|
||||
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
value: 'litmus'
|
||||
|
||||
- name: TARGET_POD
|
||||
value: ''
|
||||
@@ -66,5 +66,16 @@ spec:
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/go-runner:latest'
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
||||
labels:
|
||||
name: pod-network-duplication
|
||||
|
@@ -40,3 +40,14 @@ spec:
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
@@ -61,7 +61,7 @@ spec:
|
||||
value: ''
|
||||
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
value: 'litmus'
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
@@ -69,5 +69,17 @@ spec:
|
||||
|
||||
- name: TARGET_POD
|
||||
value: ''
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
||||
labels:
|
||||
name: pod-network-latency
|
||||
|
@@ -42,3 +42,14 @@ spec:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
@@ -61,7 +61,7 @@ spec:
|
||||
value: ''
|
||||
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
value: 'litmus'
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
@@ -69,5 +69,16 @@ spec:
|
||||
|
||||
- name: TARGET_POD
|
||||
value: ''
|
||||
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# default to docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
|
||||
# provide the container runtime path
|
||||
# applicable only for containerd and crio runtime
|
||||
- name: CONTAINER_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
labels:
|
||||
name: pod-network-loss
|
||||
|
Reference in New Issue
Block a user