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:
@@ -70,6 +70,11 @@ spec:
|
|||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba'
|
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
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
@@ -83,7 +83,12 @@ spec:
|
|||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba'
|
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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
|
@@ -69,6 +69,11 @@ spec:
|
|||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba'
|
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
|
- name: CHAOS_KILL_COMMAND
|
||||||
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
||||||
|
Reference in New Issue
Block a user