8000 Container "READY" count doesn't include sidecars · Issue #2912 · derailed/k9s · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Container "READY" count doesn't include sidecars #2912
Closed as not planned
Closed as not planned
@mgeldert

Description

@mgeldert




Describe the bug
When deploying a sidecar container (https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/), it is not counted in the "READY" container count on the pod list page.

To Reproduce

---
apiVersion: v1
kind: Pod
metadata:
  name: sidecar-test
spec:
  containers:
  - name: busybox
    image: busybox:latest
    command: ["sleep", "1d"]
  initContainers:
  - name: busybox-sidecar
    image: busybox:latest
    command: ["sleep", "1d"]
    restartPolicy: Always

Expected behavior
Above manifest should have a READY value of 2/2 instead of 1/1

Screenshots
Pod list display:
image

Container list:
image

Versions (please complete the following information):

  • OS: Amazon Linux
  • K9s: 0.35.2
  • K8s: 1.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0