Introducing OpenCost—An Open Source Project for Monitoring Kubernetes Spend

Jun 2, 2022 by Stephen Atwell

We are excited to share the launch of OpenCost, an open source project that provides real-time cost monitoring for teams running Kubernetes workloads.  

As container and Kubernetes adoption continues to grow, navigating the complexities around measuring and allocating cost is becoming a business-critical challenge. A recent CNCF survey showed overspend is increasingly a problem for teams scaling their Kubernetes deployments, and more than 70% of organizations do not have accurate cost monitoring in place. 

Born out of the Kubecost project, OpenCost introduces a new community-driven specification and accompanying implementation to solve this monitoring challenge in any Kubernetes environment above 1.12. OpenCost was developed by a group of contributing partners, including Adobe, Armory, AWS, D2iQ, Google, Kubecost, Mindcurv, New Relic, and SUSE. We feel it’s important that this project is not driven by any single entity—and that it continues to evolve and thrive within the broader Kubernetes ecosystem. Founding members of the OpenCost community are leading contributors and adopters of Kubernetes, interested in developing optimized Kubernetes experiences for their users and customers.

The contributors to the OpenCost specification have heard from our respective customers, partners, and internal teams that standardization is a pressing need for effective cost management practices across cloud platforms, Kubernetes distributions, and teams. Our vision for OpenCost

OpenCost seeks to develop a common standard — enabling teams using Kubernetes to operate with a single model for measuring and managing cost across all of their environments. Specifically intended for DevOps and engineering teams, OpenCost provides visibility into the black box that is Kubernetes spend. 

The contributing partners collectively decided to submit the project for review as a Cloud Native Computing Foundation (CNCF) Sandbox project because as a neutral home for cloud-native projects, we believe the CNCF is the best organization to help achieve our goals of standardizing Kubernetes cost monitoring. We are currently in the sandbox project queue, and we’re excited to continue iterating on our project based on feedback from the CNCF community. We will share updates on our progress as they develop.

Using OpenCost, you can benefit from greater visibility into current and historical Kubernetes spend and resource allocation and experience cost transparency in Kubernetes environments that support multiple applications, teams, departments and more. OpenCost aims to be  platform-agnostic across all clouds, on-premises infrastructure, and air-gapped environments, and includes functionalities for: 

  • Real-time cost allocation by Kubernetes service, deployment, namespace, label, statefulset, daemonset, job, pod, container, and more.
  • Allocation of in-cluster resources such as CPU, GPU, memory, load balancers, and persistent volumes.
  • Dynamic infrastructure pricing enabled by integrations with cloud providers and on-premises pricing and/or billing APIs.
  • Easy integration with Prometheus.

Try it yourself!

Check out OpenCost on GitHub to get started in less than 3 minutes.

Let us know what you think! We love feedback and contributions, and our supportive community is here for any questions in Slack.

Share this post:

Recently Published Posts

Argo + Armory: Cross-environment orchestration made easy

Feb 1, 2023

Cross-environment orchestration that you don’t have to spend time building At Armory, our goal is software innovation, whether that’s our own Continuous Deployment solutions, or being able to help our customers reach higher innovation peaks within their software development. We’ve taken deliberate steps to make sure our products play well with others, with a focus […]

Read more

Navigating AWS Deployment Targets with Armory

Jan 20, 2023

Many organizations look to Amazon Web Services (AWS) to host and deploy their applications in the cloud. However, they’re finding that their deployment tooling, often built as an extension of their legacy continuous integration (CI), is one of the main impediments to adopting cloud services.  Custom-scripted production pipelines built with in-house tooling need to be […]

Read more

Release Roundup – January 2023

Jan 11, 2023

Get the latest product news on Continuous Deployment-as-a-Service and the most recent release for Continuous Deployment Self Hosted, 2.28.2. Welcome to 2023!  Just like every organization, Armory is looking for ways to improve our practices and deliver more value (and faster!) to you, our customers. That’s why our engineering team is working to deliver features, […]

Read more