labs

This lab has been modernised but not yet verified end to end. Tell us if something breaks.

Troubleshooting

60 dkkubernetesView on GitHub
On this page

Lab Hints

Fixing apps is a process of checking the status of running objects and seeing what's wrong, then fixing up the YAML and redeploying.

Troubleshooting Deployments

  1. If the spec isn't valid you'll get a useful error from Kubectl
  1. Remember the relationship between objects - you'll need to investigate with get and describe for Pods, ReplicaSets and Deployments.

Troubleshooting Services

  1. If the spec isn't valid you'll get a useful error from Kubectl
  1. The relationship between Services, Pods and container ports is what you need to investigate.
  1. A port forward is a useful way of checking the application Pod directly.

Need more? Here's the solution.