<p>I want to try <code>Pumba</code> <a href="https://gist.github.com/lordofthejars/3a342bc8ac7e253ccec35b7ff69f56a1" rel="nofollow noreferrer">Yaml file</a> on my <code>Openshift</code> Cluster.My pod is giving <code>CrashLoopBackOff</code>.
After checking the logs I found the error to be this
<code>
container_linux.go:247: starting container process caused "exec: \"pumba\": executable file not found in $PATH"</code>.</p>

<p>If anyone evere faced any error like this?. </p>

Rajat Singh
<p>The image doesn’t contain any shell as an entry-point to execute <code>pumba</code> command. </p>

<p>So, what you need to do is to change yaml as follows:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: pumba
spec:
  template:
    metadata:
      labels:
        name: pumba
    spec:
      containers:
      - image: orangesys/alpine-pumba:0.2.4
        name: pumba
        args:
          - pumba
          - --debug
          - --random
          - --interval
          - "30s"
          - kill
          - --signal
          - "SIGKILL"
        volumeMounts:
          - name: dockersocket
            mountPath: /var/run/docker.sock
      volumes:
        - hostPath:
            path: /var/run/docker.sock
          name: dockersocket           
</code></pre>

<p>Works as expected</p>

<pre><code>AME          READY   STATUS    RESTARTS   AGE
pumba-qdqx6   1/1     Running   0          38s
</code></pre>
