Beyond cluster-admin: Getting Started with Kubernetes Users and Permissions

Conference

Room: Paris 243

Scheduled at : Friday 10:45 11:30

Abstract

We've all done it: working on our Kubernetes clusters with "cluster-admin" access, the infamous equivalent of "root". It makes sense when we're just getting started and learning about Pods, Deployments, and Services and we're the only one accessing the clusters anyway; but soon enough, we have entire teams of devs and ops and CI/CD pipelines that require access to our precious clusters and namespaces. Are we going to YOLO and give them our admin certificate, token, or whatever else we use to authenticate? Hopefully not!

In this talk, we're going to look at how to implement users and permissions on a new Kubernetes cluster. First, we'll review various ways to provision users, including certificates and tokens. We'll see examples showing how to provision users in both managed and self-hosted clusters, since the strategies tend to differ significantly. Then, we'll see how to leverage RBAC to give fine-grained permissions to these users.

We'll put emphasis on repeatability, showing each time how to script and/or generate YAML manifests to automate these tasks.

Tiffany Jernigan

Tiffany Jernigan

Tiffany is a senior developer advocate at VMware and is focused on Kubernetes. She previously worked as a software developer and developer advocate (nerd whisperer) for containers at Amazon. She also formerly worked at Docker and Intel. Prior to that, she graduated from Georgia Tech with a degree in electrical engineering. In her free time she likes to travel and as well as dabble in photography. You can find her on Twitter @tiffanyfayj.

Speaker's bio
Presentation type Conference
Track Cloud, Containers & Infrastructure, DevOps
Presentation level beginner/novice
Keywords Kubernetes security Containers

Room Paris 243