I have deployed Rancher 2.8.5 using HELM in my Kubernetes 1.25.12 Cluster running on OpenStack. So far everything seems to be working very well. I manged to deploy K8s clusters in Vsphere too.
But there seems to be a (timeout) problem. Whenver I open a shell to a pod using
kubectl exec
or through the WebUI
it closes very soon. This imposes a problem when running longer tasks.
I found quite a few articles about it being an issue with the ingress-nginx but no real solution.
thanks. That let’s me know that the issue is not related to my OpenStack → K8s setup.
I have not used Rancher Desktop, so I don’t know if this also uses ingress-nginx, but I tried debugging this a bit further. I opened a shell via the Rancher WebUI to gitlab toolbox. I get disconnected after ~ 60 seconds and I can see this in the ingress-nginx pod logs: