Hi All - one question, what is the command to store podname and namespace in &lt . . .

uday bhanu dutta:
Hi All - one question, what is the command to store podname and namespace in <namespace>/<pod> format. I have tried using kubectl get events -n namespace command but not getting the result in desired format. Please help!!

Madhan Kumar:
You can manually edit the output file and saved it , as the question Neves said that you should use only kubectl to export the data to the file . I think they are just looking for answers to be stored in a files so that automated system can grade it . how we are doing is may not be that relevant .