Certified Kubernetes Administrator (CKA) Practice Exam: Part 1
Last updated
Last updated
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 /k8s/0001/count.txt
Linux
I just grepped for taints first to see what was currently set to see what is ready to run normal workloads. Only control was not ready.
Linux
Linux
Retrieve Error Messages from a Container Log
In the backend
namespace, check the log for the proc
container in the data-handler
Pod.
Save the lines which contain the text ERROR
to the file /k8s/0002/errors.txt
.
Linux
Linux
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 web
namespace with the label app=auth
is using the most CPU. Save the name of this Pod to the file /k8s/0003/cpu-pod.txt
.
Linux
Linux
Linux