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

@@ -23,10 +23,6 @@ spec:
spec:
components:
env:
# specify the name of the container to be killed
- name: TARGET_CONTAINER
value: 'nginx'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
@@ -36,13 +32,12 @@ spec:
value: '20'
# 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 runtime
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: '/var/run/docker.sock'

View File

@@ -51,6 +51,7 @@ spec:
- name: RAMP_TIME
value: ''
# lib can be litmus or pumba
- name: LIB
value: 'litmus'
@@ -62,13 +63,12 @@ spec:
value: '10'
# 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'
# 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'
@@ -88,10 +88,6 @@ spec:
- name: SEQUENCE
value: 'parallel'
securityContext:
containerSecurityContext:
privileged: true
labels:
name: container-kill
app.kubernetes.io/part-of: litmus