惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Jina AI
Jina AI
The Cloudflare Blog
V
Visual Studio Blog
博客园_首页
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园 - Franky

Apptio

How IBM Apptio Delivers Data Center Value in the Age of AI - Apptio Managing K8s Agent Updates at Scale with Helm and Terraform - Apptio GitOps with IBM Kubecost: Preventing Argo CD Rollbacks - Apptio GitOps with IBM Kubecost: API-Driven Rightsizing - Apptio It’s Here: Meet the New IBM Apptio Report Studio – A Faster, More Intuitive Approach to Reporting - Apptio New Tech, Same Rules: Cloud Lessons for an AI Advantage - Apptio IBM Cloudability Advanced Containers for Kubernetes FinOps - Apptio The Next Era of IT Financial Management Reporting with the New IBM Apptio Report Studio - Apptio From Guesswork to Confidence: Introducing Intelligent Forecasting for Tech Spend Planning - Apptio Smarter Technology Spend with AI-Driven Financial Intelligence - Apptio Budgets Are Up, Confidence Isn't: 2026 Global Tech Investment Insights - Apptio IBM Kubecost 3.1: Kubernetes Resource Quota Rightsizing - Apptio Driving FinOps Forward in 2025 and Beyond - Apptio ITFM Maturity: The Next CIO Imperative in the Age of Innovation - Apptio How Banks Can Optimize IT Spend Without Sacrificing Impact - Apptio Introducing IBM Apptio Product TCO: Turn Product Spend into Strategic Investments with Clear, End-to-End Total Cost of Ownership and Unit Costs: Creating a Strategic Lens for IT Investment Decisions - Apptio Workforce Management: The Engine of Strategic Portfolio Management - Apptio FinOps for AI: Enabling the Next Wave of Cloud Innovation - Apptio IBM Kubecost 3.0: Faster, Smarter, and Built for Scale - Apptio Introducing IBM Apptio Mainframe TCO: Complete Visibility into Mainframe Costs and Usage - Apptio Essential K8s Cost Metrics for Reducing Spend - Apptio The New Standard for Strategic Portfolio Management: Financial Visibility at Every Level - Apptio K8s Cost Ownership: Who’s Responsible and How to Make It Work - Apptio Kubecost 2.8: Centralized Custom Pricing and a Big Performance Leap with ClickHouse - Apptio Unlock the Power of IT Financial Management with IBM Apptio Essentials - Apptio Full Transparency for Smart AI Investments with IBM Apptio’s AI Total Cost of Ownership & Usage - Apptio What’s New in IBM Apptio Planning - Apptio Labeling in Kubernetes: From Metadata to Money-Saving Insights - Apptio Innovative Approaches to Drive Tech Spend Management with AI, Analytics, and Automation - Apptio
Maximizing Multi-Cloud Efficiency with Kubecost APIs - Ap...
Mike Miller · 2024-07-12 · via Apptio

Introduction

Businesses are realizing the far-reaching advantages of multi-cloud environments and shifting from single-cloud to hybrid and multi-cloud approaches. Cloud teams making the switch find enticements like greater flexibility, reliability, and scalability worth the tradeoffs in added management challenges and complexity.

Organizations adopting (or considering a move to) multi-cloud environments will extensively use Kubernetes API (Application Programming Interface) services to orchestrate and manage containerized applications and reduce the overhead and difficulties introduced by multiple cloud service providers.

Kubernetes API

Kubernetes users interact with their Kubernetes cluster using the Kubernetes API, or the front end of the Kubernetes control plane. The Kubernetes API is the programmable interface for creating, configuring, and managing Kubernetes clusters. Users, clusters, and external components communicate using the Kubernetes API.

Kubecost APIs

Kubecost, the cost monitoring platform deployed in Kubernetes, helps organizations understand and reduce their complex cloud costs. Kubecost APIs power the Kubecost UX, but can also help organizations automate and enhance their cloud spend monitoring and optimization strategy.

Kubecost APIs provide a reliable and secure solution for integrating with complex Kubernetes systems and environments. Developers can use any of the Kubecost APIs to customize aspects of their cloud cost monitoring and offer a detailed and granular view of all cloud resources, from clusters and namespaces down to individual nodes in a pod.

Kubecost APIs conform to representational state transfer (REST) architecture principles. REST APIs are designed with developers in mind, they communicate via HTTP requests and support consistent and reliable integrations and operations.

Let’s take a look at how some of the main Kubecost APIs can be leveraged.

Overview of Kubecost APIs and their advantages

Kubecost APIs are grouped into four categories based on their functionality. These categories include:

  • Monitoring – includes the Allocation, Allocation Trends, Assets, Assets Diff, and Cloud Costs APIs
  • Governance – includes Budget, Cost Events Audit, and Predict APIs
  • Diagnostic – Events API
  • Optimization – Savings API with various endpoints

The complete details and parameters of Kubecost APIs can be found in the Kubecost API library in the Kubecost documentation.

Kubecost APIs underpin the front end of the Kubecost platform. But all Kubecost APIs are accessible and provide multiple endpoints to allow the creation of specific API calls to customize how you monitor and optimize cloud spend and automate complex activities to reduce the effort required of cloud teams.

Multiple endpoints are available for every deployment of Kubecost, including self-hosted Kubecost. Kubecost APIs allow developers to customize API calls and use filters to view costs based on different parameters that can be set up to drill down on exactly what is needed for any project, including FinOps or design and development initiatives.

Allocations API

With the Allocation API, you can view Kubernetes costs and external (out-of-cluster) costs together. Cost groupings can be allocated flexibly, including by namespace, label, product, or owner. The external allocation endpoint in the Allocation API allows you to allocate costs by external cloud costs outside of Kubernetes clusters, such as cloud services and storage. This means you can associate external costs with Kubernetes costs to truly understand allocations by the business dimensions your organization deems important.

Another endpoint under Allocation, the Allocation Compute API, can be used to find real-time costs in different steps of granularity, such as the last seven days, broken down by two-hour windows, with one-minute increments.

Assets API

The Assets API provides direct Kubernetes-specific data such as nodes, volumes, and load balancers. This information can be useful for identifying spending per node or finding the associated network per node, for example. The Assets API also powers the Assets UI frontend making it easy to visualize the various assets across your Kubernetes environments.

Cloud Cost API

One of Kubecost’s new APIs is the Cloud Cost API, which allows you to obtain all cloud line items for cloud integrations. It gives you the ability to integrate, for example, your AWS Cost and Usage Report, your Google Big Query export, or your Microsoft Azure Cost Export, and then integrate these all into the Kubecost platform so that Kubecost can process the data.

Savings API

The Savings API is critical for optimizing clusters. One endpoint, the request sizing API, provides recommendations for setting container resource requests. Kubecost provides the exact setting you should use based on advanced usage to request comparisons. This can also be used with the request sizing API.

Abandoned Workloads API

Abandoned Workloads API is another endpoint under the Savings API. Kubecost can identify network costs and tools to track abandoned workloads driving up cloud spend. These are workloads that fall under a certain threshold of network traffic, indicating they are idle and unnecessary. Together, these APIs can be used to optimize clusters with Kubecost recommendations.

Using Kubecost APIs to Unlock the Power of Cloud Infrastructure

Kubecost’s powerful API services provide critical data for cloud cost optimizations and allow organizations to better access and manipulate their complex cloud infrastructure for maximum benefit. With the various insights and data gleaned from Kubecost APIs, teams can explore the information that helps them make better decisions and take timely action to optimize their cloud infrastructure.

Kubecost APIs help organizations leverage the full benefits of a multi-cloud infrastructure, which includes flexibility, reliability, and the ability to scale their environments as needed to support their business and customers.

Get Started

Kubecost offers real-time visibility and monitoring of Kubernetes costs, and runs on any Kubernetes environment, including Amazon Kubernetes Service (AKS), Google Kubernetes Engine (GKE), Azure Kubernetes Service (AKS), and on-prem. Get started in minutes, and take control of your cloud costs today.

Contact Us

To learn more, reach out via email (team-kubecost@ibm.com), Slack, or visit our website.