-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Need Guidance: Troubleshooting "opt/logs.txt not found" error using "Sidecar Containers" example Deployment #45753
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Page mentioned in issue (based on the issue title): https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers |
/retitle Need Guidance: Troubleshooting "opt/logs.txt not found" error using "Sidecar Containers" example Deployment |
Looks like a support request in its current form. |
Also needs a lot more detail. What version of Kubernetes are you running? Where are you observing this error? Are there any other log messages? When the containers first start there will be a brief window where the file does not exist. But it should be created as soon as the main container is started. So you may see something like this if you are looking at the tail: can't open '/opt/logs.txt': No such file or directory
logging
tail: /opt/logs.txt has appeared; following end of new file
logging
logging
logging
logging |
Aside, though: maybe the |
container app does not start only it waits for init container to complete first but which is not possible |
Hey @ranjeet7219! Thank you for reaching out and seeking assistance. We appreciate your query, but the GitHub issue tracker may not be the most suitable platform for obtaining advice on Kubernetes. We recommend exploring alternative resources such as the Kubernetes Slack community (http://slack.k8s.io/) or the Discuss Kubernetes forum (https://discuss.kubernetes.io/) for the support you need. |
@divya-mohan0209: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
when using below config
it gives error that opt/logs.txt file does not exist
The text was updated successfully, but these errors were encountered: