Search code examples
kuberneteslinkerd

linkerd: crashloopbackoff kubernetes pod error while setting failure accrual


Configured my yml with failure accrual circuit breaking, with below config as reference. https://github.com/linkerd/linkerd-examples/blob/master/failure-accrual/linkerd.yml

client:
    failureAccrual:
      kind: io.l5d.consecutiveFailures
      failures: 5
      backoff:
        kind: constant
        ms: 10000

After applying the changes, I see the pods in crashloopbackoff state.

kubectl  apply -f ./linkerd-fa.yml

Solution

  • Crashloopbackoff means that the process is failing to start. If you use kubectl logs pod/$POD_ID l5d, you should see an error message. I'm guessing there's a formatting issue with your configuration that is causing linkerd to error out during startup.