DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Leveraging Namespaces for Cost Optimization with Kubernetes

2 years ago thenewstack.io
Leveraging Namespaces for Cost Optimization with Kubernetes

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

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.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com