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:
https://github.com/lensesio/lenses-helm-charts/blob/release/5.2/charts/lenses/values.yaml#L466