Closed Yukesh4791 closed 3 years ago
Update: this was happening because of timeout at load balancer. After adding additional annotations for timeout in ingress, the issue is fixed.
ref: https://github.com/kubernetes/kubernetes/issues/59411#issuecomment-363386735
Hi everyone, recently I have deployed kube-oidc-proxy using Gangway and Keycloak into our K8s cluster. Though I have deployed it successfully, but whenever I try to do exec into a pod using token(kubeconfig file) generated from Gangway-keycloak, within few minutes the pod is exited automatically with no error code. The same behaviour is observed when we deployed kube-oidc-proxy with Gangway and Dex. Not sure about the cause of this issue.
In keycloak, I don't find any token expiry parameters. And kube-oidc-proxy logs doesn't say anything.
This doesn't happen when we use eks generated kubeconfig file.
Please find the attached screenshot.
Any solution to get rid of this will be much appreciated.