chore(socket_path): Add socket path ENV for some experiment (#395)

Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
This commit is contained in:
Udit Gaurav
2020-12-17 17:02:12 +05:30
committed by GitHub
parent 6d478514a5
commit 2e5eddc68f
3 changed files with 16 additions and 1 deletions

View File

@@ -70,6 +70,11 @@ spec:
- name: LIB_IMAGE
value: 'gaiaadm/pumba'
# provide the socket file path
# it is used in pumba lib
- name: SOCKET_PATH
value: '/var/run/docker.sock'
- name: TARGET_PODS
value: ''

View File

@@ -85,6 +85,11 @@ spec:
- name: LIB_IMAGE
value: 'gaiaadm/pumba'
# provide the socket file path
# it is used in pumba lib
- name: SOCKET_PATH
value: '/var/run/docker.sock'
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE

View File

@@ -70,6 +70,11 @@ spec:
- name: LIB_IMAGE
value: 'gaiaadm/pumba'
# provide the socket file path
# it is used in pumba lib
- name: SOCKET_PATH
value: '/var/run/docker.sock'
- name: CHAOS_KILL_COMMAND
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"