As a container orchestrator, Kubernetes comes out of the box with two important features that help to manage your cluster resources:
- Resource requests and limits for Pod containers
- HPA, which allows automatic scaling of your Deployments or StatefulSets based on CPU resource usage (stable support), memory resource usage (beta support), or custom metrics (also beta support)
Let's first take a look at specifying resource requests and limits.