-
Notifications
You must be signed in to change notification settings - Fork 152
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
Fix issue with missing container name and namespace #2269
Conversation
Thanks for submitting this pull request 🎉. The team will review it soon and get back to you. If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com>
Hi @chaitalisg, |
Good question. It is a calculated risk. When pods are created with sidecars, sidecar containers are placed after main container. So, I am using the first container. Let me know if you know a way to make this better! |
I don't think this is the case always. |
I have raised this PR that fixes above problem |
Change Overview
When creating pods with sidecars, we have an issue with writing files or streaming logs from these pods, because such operations requires container name.
This PR fixes this issue.
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan