P.T
P.T

Reputation: 59

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* 

Upvotes: 0

Views: 294

Answers (1)

P....
P....

Reputation: 18351

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.

Upvotes: 1

Related Questions