Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container "READY" count doesn't include sidecars #2912

Open
mgeldert opened this issue Oct 11, 2024 · 0 comments
Open

Container "READY" count doesn't include sidecars #2912

mgeldert opened this issue Oct 11, 2024 · 0 comments

Comments

@mgeldert
Copy link




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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant