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

How to get the exact occurrence time of watch event? #825

Closed
jhz1103 opened this issue Dec 10, 2019 · 2 comments
Closed

How to get the exact occurrence time of watch event? #825

jhz1103 opened this issue Dec 10, 2019 · 2 comments

Comments

@jhz1103
Copy link

jhz1103 commented Dec 10, 2019

For example, i got a response from apiServer at 9:00 am of pod-modify, is that the exact time of happening? I found create-time and delete-time in the metadata, but nothing about the update-time, it there any way to get that information?

@yue9944882
Copy link
Member

kubernetes doesnt explicitly track the update timestamp for you, while you can either find out the accurate happening time of the update requests by tailing the API audit log, or leverage those third-party tracing platform to achieve that kubernetes/enhancements#650

@jhz1103
Copy link
Author

jhz1103 commented Dec 10, 2019

Thanks

@jhz1103 jhz1103 closed this as completed Dec 10, 2019
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

2 participants