Get logs from a pod that keeps restarting

Lenses in K8s keep restarting, how can I get the logs?

We can pause the pod for a while to prevent it from running, and then you can retrieve the log files. The parameter to use is ‘PAUSE_EXEC,’ and you can find it in Helm at this link: