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

Tailing logs on Deployment does not show logs from initContainer sidecar on pods #2612

Closed
cyppe opened this issue Mar 13, 2024 · 0 comments
Closed

Comments

@cyppe
Copy link

cyppe commented Mar 13, 2024

Describe the bug
When I check logs on Deployment, I only see logs from main container. It does not show the logs from initContainer sidecar (fluentd).

But then I press enter on Deployment instead to list all pods, and then check logs on the pod directly then it shows logs from both main container + initContainer sidecar (fluentd)

Expected behavior
See combined logs from all Pods and all the sidecars when I tail logs on Deployment.

Screenshots

Logs seen from Deployment. It only shows logs from "main container", and not the logs from initContainer sidecar (fluentd)

logs-deployment

Logs seen from Pod, it shows logs both from "main container" and the initContainer sidecar (fluentd)

logs-pod

Versions (please complete the following information):

  • OS: OSX
  • K9s: v0.32.3
  • K8s: v1.29.1-gke.1589000
derailed added a commit that referenced this issue Mar 20, 2024
derailed added a commit that referenced this issue Mar 20, 2024
* [Bug] fix #2605

* [Bug] fix #2604

* [Bug] fix #2592

* [Bug] fix #2608

* [Bug] Fix #2612

* Rel v0.32.4
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