Hands-on task
Pod description and logs
There are two pods in the cluster; deal with each one:
- pod
shop-apijust won't start. Find out which image it's trying to pull and write that image — name plus tag — to/root/image.txt; - pod
billingis running and logs which database it connected to. Find out that database's name and write it to/root/db.txt.
Each file holds one line, just the answer.
- kubernetes
- kubectl describe
- kubectl logs
- events
- ImagePullBackOff