'who was the last to modify a pod in a namespace

is there a way to pull out the username who was the last one that updated a pod in a namespace? I have already tried the below command but non of them get me the user name

helm get values *myservice*


kubectl get pod *mypod* 


Solution 1:[1]

If you are the cluster-admin, then you can check the kubernetes audit logs and determine the activities done in any particular namespace.

You can find more about auditing here.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1