chore(experiment): updating the lib and socketPath (#389)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-12-14 17:11:51 +05:30
committed by GitHub
parent 0b316a90c0
commit 546a47758a
10 changed files with 37 additions and 66 deletions

View File

@@ -24,10 +24,6 @@ spec:
spec:
components:
env:
#Container name where chaos has to be injected
- name: TARGET_CONTAINER
value: 'nginx'
#Network interface inside target container
- name: NETWORK_INTERFACE
value: 'eth0'
@@ -42,12 +38,11 @@ spec:
value: '60' # in seconds
# provide the name of container runtime
# it supports docker, containerd, crio
# default to docker
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'docker'
# provide the socket file path
# applicable only for containerd and crio runtime
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: '/var/run/docker.sock'

View File

@@ -66,6 +66,7 @@ spec:
- name: RAMP_TIME
value: ''
# lib can be litmus or pumba
- name: LIB
value: 'litmus'
@@ -77,8 +78,8 @@ spec:
value: ''
# provide the name of container runtime
# it supports docker, containerd, crio
# default to docker
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'docker'
@@ -93,9 +94,8 @@ spec:
value: ''
# provide the socket file path
# applicable only for containerd and crio runtime
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: '/var/run/docker.sock'
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel