Hey, I think audit logs[0] are what you need, potentially with some filtering on top.
/MR [0] https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#audit-logs On Tue, Aug 29, 2017 at 8:20 AM <gmertica...@trifacta.com> wrote: > Hi! > > I was wondering whether kubernetes provides a way to track the user > commands history at cluster level. For example, when I run "kubectl delete > deployment some-random-deployment" I would like to log a line similar with > bash command history which says: > > - who run the command > - which command was run > - time when the command was run > > Does kubernetes provide such capabilities? > > Thank you! > > Best, > George > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.