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

Not retrieving logs from the log container in pods properly #6

Open
APAC-DevOps opened this issue Feb 22, 2021 · 0 comments
Open

Not retrieving logs from the log container in pods properly #6

APAC-DevOps opened this issue Feb 22, 2021 · 0 comments

Comments

@APAC-DevOps
Copy link

Upon reading the templates in this repo, and this online doc, I could retrieve logs from CENM pods by issuing commands like below:

kubectl logs -c logs-auth podName -n cenm
kubectl logs -c logs-gateway podName -n cenm

however, if a pod is dead for any reason, and a new pod is relaunched, then, it is impossible to get the logs from the newly added pods.

It appears the commands that I listed above would retrieve logs from log files with oldest timestamp.

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