Kubernetes is a powerful container orchestration system that makes it attractive to organizations, including its ability to automatically scale containerized workloads and automate deployments. So cost optimization is an important consideration when it comes to running a Kubernetes cluster.
Next, create the restrictive-resource-limits policy by deploying a LimitRange resource: kubectl apply -f restrictive-limitrange.yaml -n ns1 limitrange/restrictive-resource-limits created
The new resource management policies should look as follows: 1 kubectl describe limitrange permissive-resource-limits -n ns1 kubectl describe resourcequota namespace-limits -n ns1
Kubernetes allows you to use LimitRange and ResourceQuota policies to promote efficient use of resources in namespaces and thus save costs.