diff --git a/faults/kubernetes/disk-fill/engine.yaml b/faults/kubernetes/disk-fill/engine.yaml index d4ad97d0c..dda2643f4 100644 --- a/faults/kubernetes/disk-fill/engine.yaml +++ b/faults/kubernetes/disk-fill/engine.yaml @@ -29,8 +29,12 @@ spec: - name: PODS_AFFECTED_PERC value: '' - # Provide the container runtime path - # Default set to docker container path - - name: CONTAINER_PATH - value: '/var/lib/docker/containers' + # provide the socket file path + - name: SOCKET_PATH + value: "/run/containerd/containerd.sock" + + # provide the name of container runtime + # it supports docker, containerd, crio + - name: CONTAINER_RUNTIME + value: "containerd" diff --git a/faults/kubernetes/disk-fill/fault.yaml b/faults/kubernetes/disk-fill/fault.yaml index acd7e2afe..f33c9d7ef 100644 --- a/faults/kubernetes/disk-fill/fault.yaml +++ b/faults/kubernetes/disk-fill/fault.yaml @@ -114,10 +114,14 @@ spec: - name: LIB_IMAGE value: "litmuschaos.docker.scarf.sh/litmuschaos/go-runner:3.6.0" - # Provide the container runtime path - # Default set to docker container path - - name: CONTAINER_PATH - value: "/var/lib/docker/containers" + # provide the socket file path + - name: SOCKET_PATH + value: "/run/containerd/containerd.sock" + + # provide the name of container runtime + # it supports docker, containerd, crio + - name: CONTAINER_RUNTIME + value: "containerd" ## it defines the sequence of chaos execution for multiple target pods ## supported values: serial, parallel