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!
Successfully complete this lab by achieving the following learning objectives:
- Count the Number of Nodes That Are Ready to Run Normal Workloads
Determine how many nodes in the cluster are ready to run normal workloads (i.e., workloads that do not have any special tolerations).
Output this number to the file
- Retrieve Error Messages from a Container Log
backendnamespace, check the log for the
proccontainer in the
Save the lines which contain the text
ERRORto the file
- Find the Pod with a Label of app=auth in the Web Namespace That Is Utilizing the Most CPU
Before doing this step, please wait a minute or two to give our backend script time to generate CPU load. Determine which Pod in the
webnamespace with the label
app=authis using the most CPU. Save the name of this Pod to the file