-
When using kubelogin & its variant which works with azure identity server, in both cases, there is only one user entry in the kube config even if there are multiple clusters defined in the kube config. As long as the user for each cluster is configured as the one user defined, it works. Somehow, when logging in kubelogin knows which cluster you are attempting to access. But, with pinniped, it appears that I will need to have a pinniped user entry for every cluster (because --concierge-endpoint is required). Is this correct? It's ok if it is, I am building my kubeconfig with a script, just wanting to confirm. I'm currently using pinniped-concierge only, haven't tried using the supervisor. Not sure yet what it is or why I'd need it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @lknite, You mentioned that you're not familiar with the Pinniped Supervisor. The Supervisor is a central server which can mange user authentication to a group of Kubernetes clusters. You configure an Identity Provider where your user accounts live, and then the Supervisor provides user-friendly, secure, single sign-on for the whole group of clusters. Your end users sign-on once per day for the whole group of clusters. Currently, the user accounts can come from OIDC, LDAP, or ActiveDirectory identity providers (more IDPs will be supported in the future). See https://pinniped.dev/docs/tutorials/concierge-and-supervisor-demo/ for more details about what it is and why you might need it. Coming back to your question.... yes, you will have one
If you like, you can use kubectl to merge multiple kubeconfig files into a single file. Or you can keep them as separate files, depending on your preference. All the usual stuff about choosing which kubeconfig file to use (e.g. As you pointed out, the information about how to connect to the Concierge (URL and CA) are encoded into the Hope this helps! Please let us know if you have any questions about it. |
Beta Was this translation helpful? Give feedback.
-
Thank you! This is what I needed to know. |
Beta Was this translation helpful? Give feedback.
Hi @lknite,
You mentioned that you're not familiar with the Pinniped Supervisor. The Supervisor is a central server which can mange user authentication to a group of Kubernetes clusters. You configure an Identity Provider where your user accounts live, and then the Supervisor provides user-friendly, secure, single sign-on for the whole group of clusters. Your end users sign-on once per day for the whole group of clusters. Currently, the user accounts can come from OIDC, LDAP, or ActiveDirectory identity providers (more IDPs will be supported in the future). See https://pinniped.dev/docs/tutorials/concierge-and-supervisor-demo/ for more details about what it is and why you might need it.
C…