-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Enable etcd-dump-logs tool to decode kubernetes data objects in WAL log #9631
Comments
it seems that this should not belong to etcd repo. Or we need to provide a generic way to hook a decoder into the wal analysis tool. |
c.f. #8460 |
Thanks @gyuho , #8460 is a very helpful ref. @xiang90 I agree that we should just provide a generic way to hook a decoder into etcd-dump-logs. In this particular case, auger already provide all we need to decode k8s object. I will just refactor etcd-dump-logs so it could use user specified decoder to replace meaningless hex strings with meaningful actual decoded objects whereever feasible. |
@wenjiaswe Thanks for the explanation. it makes sense. |
Addressed by #9790. |
etcd-dump-logs now is a great tool for wal log analysis. However, some kubernetes data in wal log is stored in a binary storage representation (starting kubernetes 1.6+). Output from etcd-dump-logs could not reveal kubernetes object. If we could provide an option for etcd-dump-logs to decode kubernetes object data at the same time of wal log dump, it would be very helpful for kubernetes users.
@jpbetz
The text was updated successfully, but these errors were encountered: