Resource management and scalability
By default, Pods run without compute resource limits. This is fine for learning how your application behaves, and it can help you define its requirements and limits.
Kubernetes cluster administrators can also define quotas that can be configured at different levels. It is usual to define them at the namespace level and your applications will be confined with limits for CPU and memory. But these quotas can also identify some special resources, such as GPUs, storage, or even the number of resources that can be deployed in a namespace. In this section, we will learn how to limit resources in our Pods and containers, but you should always ask your Kubernetes administrators if any quota is applied at the namespace level to prepare your deployments for such compliance. More information about resource quota configurations can be found in the Kubernetes official documentation: https://kubernetes.io/docs/concepts/policy/resource-quotas.
We will use...