Running Kubernetes in Production? These are the Questions you Need to be Asking!

What questions should DevOps teams and IT managers be asking about their production Kubernetes deployments? Read on to learn how you can gain more visibility into your production Kubernetes deployments and ensure optimized resource usage.

Hasham Haider

Hasham Haider

January 28, 2019

3 minute read

Containerization (when done right) has the potential to make DevOps more productive and the CI/CD pipeline more seamless. For one, it allows DevOps teams to spend more time developing and shipping new features rather than debugging code to fit a specific environment. It also frees up teams from managing infrastructure and concentrate on managing the applications, themselves.

With Kubernetes these benefits are magnified many times over. Kubernetes makes it easier to manage and deploy containers at scale, further reducing release cycles.

In bringing all these benefits, however, Containers and Kubernetes do introduce an additional layer and increased complexity into enterprise tech stacks. This is bad news for IT managers since it essentially means loss of visibility and control over costs.

From the standpoint of IT managers, looking for visibility and control over costs, containers are still plagued by old world problems;

  • How many resources are individual teams and applications consuming?

  • How much does this resource usage cost?

  • How can I allocate these costs to individual applications and teams?

It is often difficult to figure out which teams or applications consume how much and which parts of the infrastructure. This is even harder given the fact that production clusters share resources among many different teams and applications. All of this makes Kubernetes environments a black hole for IT managers with zero cost visibility and no way to allocate costs to individual teams, applications or services.

Book cover of 'Kubernetes Cost Analysis and Allocation on AWS' and button to download

Cost allocation and chargeback are essential features of enterprise tech stacks. And since Kubernetes is on track to being an integral part of that stack, not being able to allocate or chargeback costs, could be a major spanner in the works.

Additionally, organizations typically have much more granular resource consumption and cost visibility requirements across any number of custom groupings. Allocating costs and getting a consistent view of resource usage without a dedicated solution is often a non-starter.

Resource utilization is another concern that IT managers have to deal with;

  • What is the average resource utilization of my infrastructure?

  • How do I ensure optimum infrastructure utilization?

  • Is there any way I can optimize resource usage to reduce infrastructure costs?

Resource utilization is the ratio of the resources being consumed by all the pods running in a cluster as compared to the total resources available on the cluster. According to Rightscale, cloud resources only see a 35% utilization rate on average. This holds true in the Kubernetes context too, which means that 75% of VM costs are being contributed by idle resources.

Ensuring optimal resource utilization of the underlying infrastructure is essential to Kubernetes cost optimization efforts. On public cloud, this would translate into ensuring that the underlying virtual machines (AWS EC2 instances, Digital ocean droplets) are utilized efficiently.

When launching pods, developers too have to answer hard questions;

  • Have I allocated the correct amount of resources to my container or pods?

  • Is there enough resource headroom to ensure my pods will not run out of resources during traffic spikes?

  • Or, are my containers bloated, with much higher resources allocated than required?

Once pods go into production, resource utilization concerns rear up;

  • How much of the requested resources are my pods consuming and what is the average utilization?

  • Can I do a better job of balancing resource requests and limits?

Extending this to the cloud introduces even more challenges. Kubernetes can be deployed on any one of a number of public cloud providers as well as in hybrid or multi-cloud configurations. Cloud VMs also come in all shapes and sizes as well as billing profiles.

Matching resource requirements to the hundreds of possible cloud and VM combinations and forecasting resource demands over all of these scenarios, while ensuring lowest costs, quickly goes out of the domain of DevOps teams.

Replex.io answers all these questions and more. Our dedicated Kubernetes solution has been built from the ground up to address the twin challenges of cost visibility and optimization for enterprise Kubernetes deployments. It comprises three modules; Collect, Optimize and Report. Together they provide granular visibility into resource consumption, utilization, and costs across all infrastructure classes. The Optimize module flags in-efficient resource utilization and unallocated resources and improves resource utilization. On average we see an improvement of up to 30% in resource utilization and a corresponding 30% decrease in costs.

Interested in learning how to optimize your Kubernetes deployments?

Request a Demo!

Kubernetes cost visibility and optimization ebook download Download Ebook
Hasham Haider


Hasham Haider

Fan of all things cloud, containers and micro-services!

Allocate and Optimize Kubernetes Costs and Make Infrastructure Cost Savings of up to 30%

Request a quick 20 minute demo to see how you can allocate Kubernetes costs to individual teams and applications while saving up to 30% on infrastructure costs using Replex.

Contact Us