- Lab
- A Cloud Guru
Controlling Access in Kubernetes with RBAC
Role-based access control is an important component when it comes to managing a Kubernetes cluster securely. The more users and automated processes there are that need to interface with the Kubernetes API, the more important controlling access becomes. In this lab, you will have the opportunity to practice your skills with the Kubernetes RBAC system by implementing your own RBAC permissions to appropriately limit user access.
Path Info
Table of Contents
-
Challenge
Create a Role for the `dev` User
Create a role called
pod-reader
. Provide it with read access to pods and container logs in thebeebox-mobile
namespace. -
Challenge
Bind the Role to the `dev` User and Verify Your Setup Works
Create a RoleBinding to bind the
pod-reader
role to thedev
user. Interact with pods in thebeebox-mobile
namespace to make sure you can read pod metadata and container logs as thedev
user but not make any changes.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.