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

推荐订阅源

月光博客
月光博客
MyScale Blog
MyScale Blog
博客园 - Franky
The Cloudflare Blog
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Blog of Author Tim Ferriss
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
腾讯CDC
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
博客园 - 【当耐特】
美团技术团队
云风的 BLOG
云风的 BLOG

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
Blending FinOps With Observability - Apptio
PSV Ravi Kumar · 2023-11-15 · via Apptio

It is fascinating to see how FinOps blends into observability. Cloud monitoring is not just about keeping things up and running; it goes beyond looking and waiting for issues and reviewing application errors and anomalies in the infrastructure. For us at Apptio, issues are not limited to outages or performance degradation; an issue is anything that does not align with our business objectives, so for us, overspending is an issue.

Monitoring for migrations

Recently, we had such an issue with one of our large-scale data processing jobs. The service had recently migrated to our primary Kubernetes platform from a legacy environment where the jobs ran directly on the hosts. In addition to focused monitoring post migration, we also had alerts in place to help detect any issues. Soon after the migration, we received a Cloudability alert indicating that our spending on this service was rising and had almost doubled. This was outside of our budgeted costs. Interestingly, we had not received any alerts or notifications for performance or application issues. In fact, the application was performing better than it was before the migration, and the data processing jobs ran faster because some of the more demanding jobs were now allocated to much larger EC2 instances.

waste cost by lease type revised - Blending FinOps With Observability - Apptio
Wasted cost by lease type

Root cause analysis

We looked at the data from different perspectives by using various views in Cloudability. We were able to see that the On-Demand spend went up and the Spot/On-Demand ratio got reversed in favor of On-Demand. The cost analysis based on the instance types indicated that the primary issue had to do with r6i.16xlarge and c5.9xlarge instances.

waste cost by instance - Blending FinOps With Observability - Apptio
Wasted cost by EC2 instance type

We drilled further into the data and analyzed the wasted resources by instance type. This revealed that our pods were not efficiently packed, especially on the r6i.16xlarge instances.

waste resources by instance - Blending FinOps With Observability - Apptio
Wasted resources by EC2 instance type

First, we dug into the root cause of the poor pod allocation. We use Kyverno policies to match applications with the appropriate nodes to achieve the most optimal allocation. The data processing job has three flavors: small, large, and huge. This is based on the resource requirements to perform the job. According to the Kyverno policies, huge workloads are directed to r6i.16xlarge group, large workloads go to c5.9xlarge, but the small workloads were not accounted for. As a result, they were scheduled to any node, including those that were only reserved for huge and large workloads. Because of the missing Kyverno policy, the largest and the most expensive instances became fragmented and remained underutilized, occupied by just one small workload. To remedy this, we added another policy to schedule the small workloads to c5.9xlarge and c5.4xlarge instances, depending on their resource requests. This ensured that each processing job was going to be matched to the best resource, maximizing allocation density and minimizing waste.

Maximize pod density

Another action for optimizing deployment density had to do with the Cluster Autoscaler. By default, the Cluster Autoscaler tries to evict pods from nodes that are less than 50% utilized to pack them better onto other nodes. When it initiates the eviction, it puts a “ToBeDeleted” taint on the node to prevent it from being used by other pods. The problem is that some pods have long termination grace periods. The eviction of that pod does not happen until the pod finishes, leaving the node underutilized and unusable by other workloads. We disabled this default setting, allowing short running workloads to utilize a node that was going to be deleted.

As the result of these two actions, we cut the waste on r6i.16xlarge instances in half, as indicated on the chart below.

wasted resources optimized revised - Blending FinOps With Observability - Apptio
Wasted resources after optimization

Next steps — future optimizations

We are still not out of the woods and have a few follow-up action items. While we improved the utilization of the most expensive instances and reduced the cost of our waste, we pushed the problem down to the next tier. The c5.9xlarge instances with 72 GB of memory now host pods that are requesting 64 GB. To reduce the 8 GB of wastage by host, we are planning to switch to c6i.16xlarge instances for these workloads, which will allow us to use two pods per host without wasting resources.

We also introduced Karpenter as a replacement for the Cluster Autoscaler and are expecting several improvements, such as better node termination time of unused nodes and better deployment density.

It is too early to tell how effective these changes are, but one thing is clear: the FinOps angle of observability enables us to spot problems that are otherwise hard to detect and efficiently understand their scale and financial impact. If we don’t continually improve at this and address these issues, the inefficiencies could cost the company hundreds of thousands of dollars.