Knowing how to troubleshoot is a skill that is essential to becoming a proficient Kubernetes Developer or Administrator.
The objective of this challenge is to fix broken stuff. To simulate this, you'll run bash scripts to run that will cause things to break!
-
Create some havoc in your cluster!
student@bchdcd && wget https://static.alta3.com/projects/k8s/havoc02.sh && bash havoc02.sh
You're competently working on your own projects when the office slacker pings you. "Hey, uh, there's something, uh, wrong inside the fail02 namespace. Can you, like, help?" You sigh, knowing you're not going to get anything else useful out of them and turn to your CLI.
Find what's wrong in the fail02 namespace and fix it!
Recommended commands:
kubectl getkubectl describekubectl edit- NEW RESOURCE OBJECT
kubectl get events
Hint #1
kubectl get pods -n fail02
Hint #2
kubectl describe pod failingpod02 -n fail02
AND/OR
kubectl get events -n fail02
Hint #3
There is a typo in the image name!
Solution
kubectl edit pod failingpod02 -n fail02
Change line 18 from nginxx to nginx
