menu
You can use the command:
kubectl logs <pod-id> --previous
To show the logs from the version that crashes or use the command:
kubectl get pod celery-worker-5558fbffb-25dmw -o jsonpath="{.status.containerStatuses[0].lastState.terminated.reason}"
To show the terminated reason only.