DevOps with Docker and Kubernetes
LESSON 4.3

Resource limits and troubleshooting

Learn key techniques and workflows in DevOps with Docker and Kubernetes.

5m
advanced
3,730 students

Overview

Requests drive scheduling, limits drive eviction. CrashLoopBackOff and OOMKilled are usually a limits conversation, not a code one.

In this lesson you will:

  • Set requests and limits that reflect real usage
  • Diagnose CrashLoopBackOff and OOMKilled pods
  • Debug a pod with logs, describe, and exec

Pro Tip

Requests decide where a pod is scheduled; limits decide when it gets killed. They are not the same number.

Resources