Resource Requests & Limits

5
training scenarios
CKAD
Security
Resiliency
Flexibility

Pod resource requests and limits allow you to specify minimums and maximums for Pod CPU and RAM usage. In this set of classes, you'll learn the fundamentals of Pod resource requests and limits, as well as how to define them in PodSpec YAML and see them in action.

Classes in that topic

Intro to Resource Requests and Limits

Pod resource requests and limits allow you to specify minimums and maximums for Pod CPU and memory usage. In this set of classes, you'll learn the fundamentals of requesting and limiting consumption of resources, as well as how to define them in PodSpec YAML and see them in action.

Resource Requests

In this set of classes, you'll learn how to work with Kubernetes resource requests. The classes will teach you how to write resource requests in YAML files, how they're vital to the Kubernets scheduler, and why it's vital that you always specify them for every Pod and container you deploy.

Resource Limits

In this set of classes, you'll learn how resource limits work with, but are different from, resource requests. You'll learn how to configure them in YAML files, how they can be overcommitted, how Kubernetes deals with containers that exceed their memory limits, and much more.

Setting default requests and limits

In this set of classes, you'll learn about the Kubernetes LimitRange object that can be used to set default values for Pods that do not explicitly set their own resource request and resource limit values.

Test yourself

This class puts everything you've learned to the test by setting you several tasks to complete on your own (without completed YAML files and commands to copy & paste). It should be a lot of fun!