Pod Viewer Access
Beginner Mode
Start your terminal to use beginner mode.
Scenario
A monitoring application needs read-only access to pods in the demo namespace.
Task
Set up RBAC so the ServiceAccount can only get, list, and watch Pods in that namespace.
| Property | Value |
|---|---|
| Namespace | demo |
| ServiceAccount name | reader-sa |
| Role name | pod-reader |
| RoleBinding name | pod-reader-binding |
| Allowed verbs | get, list, watch |
| Resource | pods |
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Kubernetes Environment
Launch a live cluster to solve this challenge.
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →
Reddit