Welcome to the Linux Foundation Forum!

LFD259 LAB 6.6

I have a question about points 5 to 9.

In point 8, you wrote:

After finding the errors, log into the container and find the proper ID of the nginx user.

If the status is CrashLoopBackOff, how is it possible to log into the container and get the ID?

Can anyone explain the solution to these points that I mentioned?

Best Answer

  • e.vardanyan
    e.vardanyan Posts: 2
    Answer ✓

    To access a pod in CrashLoopBackOff state, you can use kubectl debug.

Categories

Upcoming Training