mintel/dex-k8s-authenticator

Dex login is fluctuation some time working and not working

devopsdymyr opened this issue · 2 comments

I have deployed dex server based on the reference https://medium.com/preply-engineering/k8s-auth-a81f59d4dff6
which is working fine for sometime and some time not reachable commands
image

image

image

@devopsdymyr we would need to see the dex and dex-k8s-authenticator configs (with any secrets redeacted), as well as full log output from dex/dex-k8s-auth.

I would not expect you to be able to curl that callback url directly - it will probably be looking for session data which would have been setup prior (i.e. via a call to the login url instead).

It looks like to me like Dex is crashing

  • Confirm whether or not you are load-balancing with the sqlite setup or not (again, I would not recommend that and it could result in such an issue)
  • Confirm whether the pods are healthy or not (are they crashing? if so that would give you this error)

Due to redirection url which is solved now