Difficulty: beginner
Estimated Time: 10-15 minutes


You should use the following commands to figure out why the services, deployments and pods are not working correctly:

kubectl describe deployment/<deployname>
  kubectl describe replicaset/<rsname>
  kubectl get pods
  kubectl get deployments
  kubectl get replicaset
  kubectl describe pod/<podname>
  kubectl logs <podname> --previous

Congratulations. You now know how to fix a a broken deployment!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Debug Problems

Step 1 of 7

Exercise 1

There're two broken pods.

Also, try to create this service which won't start:

cat clusterip-service.yml;echo

Terminal Host 2