Exit code 147 - Back-off restarting failed container

Viewed 21

I have added a logshipper container to my Kubernetes deployment, with the following requests and limits set:

logshipper:
      limits:
        memory: "200Mi"
        cpu: "200m"
      requests:
        memory: "100Mi"
        cpu: "100m"

It is causing a CrashLoopBackoff in my main container however. It has the following requests and limits set:

Limits:
      cpu:                500m
      ephemeral-storage:  2Gi
      memory:             1000Mi
    Requests:
      cpu:                150m
      ephemeral-storage:  2Gi
      memory:             1000Mi

Is what I set for logshipper too small?

I am getting an exit code 137 for the main container.

0 Answers
Related