<p>I am a junior developer currently running a service in a Kubernetes environment.</p>
<p>How can I check if a resource inside Kubernetes has been deleted for some reason?</p>
<p>As a simple example, if a deployment is deleted, I want to know which user deleted it.</p>
<p>Could you please tell me which log to look at.</p>
<p>And I would like to know how to collect these logs.</p>
<p>I don't have much experience yet, so I'm asking for help.
Also, if you have a reference or link, please share it. It will be very helpful to me.</p>
<p>Thank you:)</p>

j_shoon24
<p>Start with <a href="https://kubernetes.io/docs/tasks/debug-application-cluster/audit/" rel="nofollow noreferrer">enabling audit</a> with lots of <a href="https://www.google.com/search?q=kubernetes+audit+log+example&amp;rlz=1C1GCEU_enMY949MY949&amp;oq=kubernetes+audit+log&amp;aqs=chrome.2.69i59j0i512l9.4319j0j4&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow noreferrer">online resources</a> about doing this.</p>
