chore(docs): Replaces default container runtime to containerd (#3905)
* replaces default container runtime to containerd Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
This commit is contained in:
parent
118ba8f253
commit
ae9aeb2c76
|
@ -181,12 +181,12 @@
|
|||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -264,7 +264,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path:
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
[embedmd]:# (https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/experiments/categories/pods/container-kill/container-runtime-and-socket-path.yaml yaml)
|
||||
```yaml
|
||||
|
@ -289,10 +289,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -173,12 +173,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to <code>/var/run/docker.sock</code> </td>
|
||||
<td> Defaults to <code>/run/containerd/containerd.sock</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> RAMP_TIME </td>
|
||||
|
@ -272,7 +272,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -299,10 +299,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -154,12 +154,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker</td>
|
||||
<td> Defaults to containerd, supported values: docker</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the docker socket file </td>
|
||||
<td> Defaults to <code>/var/run/docker.sock</code> </td>
|
||||
<td> Defaults to <code>/run/containerd/containerd.sock</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> LIB </td>
|
||||
|
@ -262,7 +262,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker` runtime only.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`).
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`).
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -289,10 +289,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -149,12 +149,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker</td>
|
||||
<td> Defaults to containerd, supported values: docker</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the docker socket file </td>
|
||||
<td> Defaults to <code>/var/run/docker.sock</code> </td>
|
||||
<td> Defaults to <code>/run/containerd/containerd.sock</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> LIB </td>
|
||||
|
@ -222,7 +222,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker` runtime only.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`).
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`).
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -249,10 +249,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# map of host names
|
||||
- name: SPOOF_MAP
|
||||
value: '{"abc.com":"spoofabc.com"}'
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# map of host names
|
||||
- name: SPOOF_MAP
|
||||
value: '{"abc.com":"spoofabc.com"}'
|
||||
|
|
|
@ -164,12 +164,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -381,7 +381,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -408,10 +408,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -175,12 +175,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -440,7 +440,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -467,10 +467,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -170,12 +170,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -432,7 +432,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -459,10 +459,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -164,12 +164,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -384,7 +384,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -411,10 +411,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -187,12 +187,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -542,7 +542,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -569,10 +569,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
# provide the port of the targeted service
|
||||
- name: TARGET_SERVICE_PORT
|
||||
value: "80"
|
||||
|
|
|
@ -175,12 +175,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to </code>/var/run/docker.sock</code> </td>
|
||||
<td> Defaults to </code>/run/containerd/containerd.sock</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> RAMP_TIME </td>
|
||||
|
@ -276,7 +276,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -303,10 +303,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -170,12 +170,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to <code>/var/run/docker.sock</code> </td>
|
||||
<td> Defaults to <code>/run/containerd/containerd.sock</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> PODS_AFFECTED_PERC </td>
|
||||
|
@ -271,7 +271,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
### Pumba Chaos Library
|
||||
|
||||
|
|
|
@ -144,12 +144,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -368,7 +368,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -395,10 +395,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -145,12 +145,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -369,7 +369,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -396,10 +396,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -154,12 +154,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -409,7 +409,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -436,10 +436,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -145,12 +145,12 @@
|
|||
<tr>
|
||||
<td> CONTAINER_RUNTIME </td>
|
||||
<td> container runtime interface for the cluster</td>
|
||||
<td> Defaults to docker, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
<td> Defaults to containerd, supported values: docker, containerd and crio for litmus and only docker for pumba LIB </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> SOCKET_PATH </td>
|
||||
<td> Path of the containerd/crio/docker socket file </td>
|
||||
<td> Defaults to `/var/run/docker.sock` </td>
|
||||
<td> Defaults to `/run/containerd/containerd.sock` </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> TOTAL_CHAOS_DURATION </td>
|
||||
|
@ -369,7 +369,7 @@ spec:
|
|||
It defines the `CONTAINER_RUNTIME` and `SOCKET_PATH` ENV to set the container runtime and socket file path.
|
||||
|
||||
- `CONTAINER_RUNTIME`: It supports `docker`, `containerd`, and `crio` runtimes. The default value is `docker`.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/var/run/docker.sock`). For other runtimes provide the appropriate path.
|
||||
- `SOCKET_PATH`: It contains path of docker socket file by default(`/run/containerd/containerd.sock`). For other runtimes provide the appropriate path.
|
||||
|
||||
Use the following example to tune this:
|
||||
|
||||
|
@ -396,10 +396,10 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
```
|
||||
|
|
|
@ -19,9 +19,9 @@ spec:
|
|||
# runtime for the container
|
||||
# supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'docker'
|
||||
value: 'containerd'
|
||||
# path of the socket file
|
||||
- name: SOCKET_PATH
|
||||
value: '/var/run/docker.sock'
|
||||
value: '/run/containerd/containerd.sock'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
VALUE: '60'
|
||||
|
|
|
@ -899,8 +899,8 @@ spec:
|
|||
# it contains host file volumes
|
||||
hostFileVolumes:
|
||||
- name: socket file
|
||||
mountPath: "/var/run/docker.sock"
|
||||
nodePath: "/var/run/docker.sock"
|
||||
mountPath: "/run/containerd/containerd.sock"
|
||||
nodePath: "/run/containerd/containerd.sock"
|
||||
labels:
|
||||
name: pod-delete
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
|
|
@ -81,8 +81,8 @@ spec:
|
|||
# it contains host file volumes
|
||||
hostFileVolumes:
|
||||
- name: socket file
|
||||
mountPath: "/var/run/docker.sock"
|
||||
nodePath: "/var/run/docker.sock"
|
||||
mountPath: "/run/containerd/containerd.sock"
|
||||
nodePath: "/run/containerd/containerd.sock"
|
||||
labels:
|
||||
name: pod-delete
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
|
|
@ -45,11 +45,11 @@ opting for the default ["restricted"](https://kubernetes.io/docs/concepts/policy
|
|||
|
||||
allowedHostPaths:
|
||||
# substitutes this path with an appropriate socket path
|
||||
# ex: '/var/run/docker.sock', '/run/containerd/containerd.sock', '/run/crio/crio.sock'
|
||||
- pathPrefix: "/var/run/docker.sock"
|
||||
# ex: '/run/containerd/containerd.sock', '/run/containerd/containerd.sock', '/run/crio/crio.sock'
|
||||
- pathPrefix: "/run/containerd/containerd.sock"
|
||||
# substitutes this path with an appropriate container path
|
||||
# ex: '/var/lib/docker/containers', '/var/lib/containerd/io.containerd.runtime.v1.linux/k8s.io', '/var/lib/containers/storage/overlay/'
|
||||
- pathPrefix: "/var/lib/docker/containers"
|
||||
- pathPrefix: "/var/lib/containerd/io.containerd.runtime.v1.linux/k8s.io"
|
||||
|
||||
allowedCapabilities:
|
||||
# NET_ADMIN & SYS_ADMIN: used in network chaos experiments to perform
|
||||
|
|
|
@ -188,7 +188,7 @@ Yes, you can provide service B details inside `DESTINATION_IPS` or `DESTINATION_
|
|||
|
||||
The `NETWORK_INTERFACE` is the interface name inside the pod/container that needs to be targeted. You can find it by execing into the target pod and checking the available interfaces. You can try `ip link`, `iwconfig` , `ifconfig` depending on the tools installed in the pod either of those could work.
|
||||
|
||||
The `SOCKET_PATH` by default takes the docker socket path. If you are using something else like containerd, crio or have a different socket path by any chance you can specify it. This is required to communicate with the container runtime of your cluster.
|
||||
The `SOCKET_PATH` by default takes the containerd socket path. If you are using something else like docker, crio or have a different socket path by any chance you can specify it. This is required to communicate with the container runtime of your cluster.
|
||||
In addition to this if container-runtime is different then provide the name of container runtime inside `CONTAINER_RUNTIME` ENV. It supports `docker`, `containerd`, and `crio` runtimes.
|
||||
|
||||
### What are the different ways to target the pods and nodes for chaos?
|
||||
|
|
|
@ -31,9 +31,8 @@ spec:
|
|||
value: "cluster1-pxc-0,cluster1-pxc-2"
|
||||
# provide the name of container runtime
|
||||
# for litmus LIB, it supports docker, containerd, crio
|
||||
# for pumba LIB, it supports docker only
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: "docker"
|
||||
value: 'containerd'
|
||||
# provide the socket file path
|
||||
- name: SOCKET_PATH
|
||||
value: "/var/run/docker.sock"
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
|
Loading…
Reference in New Issue