- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.