pods with init container with restartPolicy: Always
stay in Init
status #2520
Closed
Description
Describe the bug
I'm using kubernetes 1.29 and created a pod with normal container and init container which has restartPolicy: Always
. In k9s pod always stays in Init:1/2
state, while kubectl get po <name>
shows state Running
To Reproduce
Steps to reproduce the behavior:
- Create a pod with init container with
restartPolicy: Always
- Check pod status in k9s
- Status will be
Init:1/2
Expected behavior
Status should be Running
Versions (please complete the following information):
- K9s: [e.g. 0.31.7]
- K8s: [e.g. 1.29.0]