What are some Open Source User Authentication Tools for Kubernetes?
Asked by
+Riddle workshop
Hey everyone! I'm managing a cluster with Ionos and I'm looking to set up user authentication to avoid downloading the kubeconfig file. I'm hoping to implement OIDC and also integrate RBAC for better access control. I've come across Keycloak, which seems ideal, but I noticed it's from Bitnami. I also found Pinniped. Can anyone suggest other open-source alternatives that might fit my needs?
Answers
Iโve used Pinniped myself, and I ended up creating a custom Helm chart from their YAML templates. It suited my needs perfectly since the kubeconfig it generates is generic and works for all users. I'd recommend it!
Reply to this answer
We went with Dex along with an upstream OIDC provider. It allows for provisioning users either statically or dynamically and has been working flawlessly for us! 👍
Reply to this answer
Authentik is another solid option. It provides OIDC right out of the box and is open source. The documentation could use some work, though, so be prepared to spend some time figuring things out, but it can definitely be set up for your needs!
Reply to this answer
Keycloak is actually open source and part of the CNCF, so it's a reliable choice for OIDC. You might want to check it out!
Reply to this answer
I use an OIDC kubeconfig with Authentik. However, I often find myself reporting issues on GitHub after each release. Just a heads up about that!
Reply to this answer
Thereโs also Dex and Authentik to consider for OIDC. Iโve seen several people use Dex with Kubernetes, and it's lighter compared to Keycloak. You might also want to check out the runable community; they have a lot of folks experienced in self-hosted Kubernetes solutions.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions