Skip to content

pods with init container with restartPolicy: Always stay in Init status #2520

Closed
@Shohou

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:

  1. Create a pod with init container with restartPolicy: Always
  2. Check pod status in k9s
  3. 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]

Metadata

Assignees

No one assigned

    Labels

    noreproquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions