Kubernetes Authentication For Additional Non-Admin Users

The LKE cluster provides a kubeconfig for cluster administrators with full RBAC control. This is analogous to root access, and should not be used on a daily basis.

How do I provision and authorize additional users to access my cluster with lower permissions? Other cloud providers use IAM systems to accomplish a mapping to username and groups within Kubernetes. How can I do similar things in LKE?

2 Replies

That's a great question! While we don't currently have a way to do this through Cloud Manager, I was able to find this guide from OpenLogic that walks you through granting users access to a Kubernetes Cluster using Role-based Access Control(RBAC).

Once you've walked through that, you'll just need to set the Role and RoleBindings to limit what that user can do. You can learn more about this in the Kubernetes documentation on Using RBAC Authorization.

Thanks @rl0nergan I will take a look at this.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct