This lab provides practice scenarios to help prepare you for the Certified Kubernetes Administrator (CKA) exam. You will be presented with tasks to complete as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKA exam. Good luck!
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Service Account
Create a service account in the
web
namespace calledwebautomation
.- Create a ClusterRole That Provides Read Access to Pods
Create a ClusterRole called
pod-reader
that hasget
,watch
, andlist
access to all Pods.- Bind the ClusterRole to the Service Account to Only Read Pods in the web Namespace
Bind the ClusterRole to the
webautomation
service account so that it can read all Pods, but only in theweb
namespace.