is it the probe, the config, or the app? a crashloopbackoff story ugh

debuggingkubernetespods3 replies · 246 views · started
  1. new to Kubernetes, please be gentle :D my frontend pod on k3s won't stay up:

    This app can't run on your PC

    This app can't run on your PC
    
    To find a version for your PC, check with the
    software publisher.
    

    The status says CrashLoopBackOff... i googled it and it seems to just mean it crashes a lot. Thanks, Kubernetes. How do i find out WHY?

    i can see the pod, i can see the restart counter, and thats about it. every tutorial assumes you already know where to look lol A short checklist of commands would honestly make my week.

    4
  2. what do Last State, Reason and Exit Code say in kubectl describe pod? ?

    0 4 helpful
  3. Exit code 0 with CrashLoopBackOff means the main process ends. Containers must run a foreground process :D A command that daemonizes, or a scrpit that finishes, causes exactly this. Check command and args in teh pod spec override teh image CMD the way you expect.

    0 7 helpful

Reply to this topic

Sign in or create an account to reply.