Changed container path to socket path and runtime (#591)

Signed-off-by: avaakash <as86414@gmail.com>
This commit is contained in:
Akash Shrivastava
2023-03-01 21:07:24 +05:30
committed by GitHub
parent a6d3bc647b
commit df22a472d6
4 changed files with 44 additions and 32 deletions

View File

@@ -28,7 +28,10 @@ spec:
- name: PODS_AFFECTED_PERC - name: PODS_AFFECTED_PERC
value: '' value: ''
# Provide the container runtime path # provide the name of container runtime, it supports docker, containerd, crio
# Default set to docker container path - name: CONTAINER_RUNTIME
- name: CONTAINER_PATH value: 'containerd'
value: '/var/lib/docker/containers'
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'

View File

@@ -102,10 +102,13 @@ spec:
- name: LIB_IMAGE - name: LIB_IMAGE
value: 'litmuschaos/go-runner:latest' value: 'litmuschaos/go-runner:latest'
# Provide the container runtime path # provide the name of container runtime, it supports docker, containerd, crio
# Default set to docker container path - name: CONTAINER_RUNTIME
- name: CONTAINER_PATH value: 'containerd'
value: '/var/lib/docker/containers'
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.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

View File

@@ -28,7 +28,10 @@ spec:
- name: PODS_AFFECTED_PERC - name: PODS_AFFECTED_PERC
value: '' value: ''
# Provide the container runtime path # provide the name of container runtime, it supports docker, containerd, crio
# Default set to docker container path - name: CONTAINER_RUNTIME
- name: CONTAINER_PATH value: 'containerd'
value: '/var/lib/docker/containers'
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'

View File

@@ -107,10 +107,13 @@ spec:
- name: LIB_IMAGE - name: LIB_IMAGE
value: 'litmuschaos/go-runner:latest' value: 'litmuschaos/go-runner:latest'
# Provide the container runtime path # provide the name of container runtime, it supports docker, containerd, crio
# Default set to docker container path - name: CONTAINER_RUNTIME
- name: CONTAINER_PATH value: 'containerd'
value: '/var/lib/docker/containers'
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.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