I run
kubectl exec -it pod_name rails c
After that Rails console works for a couple of minutes, then it exits automatically. Is there any way to find out the reason, logs or something? Thanks.