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

推荐订阅源

有赞技术团队
有赞技术团队
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
aimingoo的专栏
aimingoo的专栏
IT之家
IT之家
G
Google Developers Blog
爱范儿
爱范儿
博客园 - 司徒正美
Recent Announcements
Recent Announcements
The Register - Security
The Register - Security
J
Java Code Geeks
The Cloudflare Blog
M
MIT News - Artificial intelligence
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
宝玉的分享
宝玉的分享
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
B
Blog
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
T
Troy Hunt's Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hacker News: Front Page
H
Help Net Security
S
Security @ Cisco Blogs
V
V2EX
Security Archives - TechRepublic
Security Archives - TechRepublic
Stack Overflow Blog
Stack Overflow Blog
O
OpenAI News
L
LINUX DO - 最新话题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
S
Secure Thoughts
Help Net Security
Help Net Security
F
Full Disclosure
博客园 - 叶小钗
The Hacker News
The Hacker News
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
K
Kaspersky official blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Vulnerabilities – Threatpost
P
Privacy International News Feed
Scott Helme
Scott Helme

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Securing customer logins with breach intelligence Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Monitor Karpenter with Datadog
David Lentz · 2026-03-11 · via Datadog | The Monitor blog

In this series, we’ve explored Karpenter’s architecture, the key metrics that reflect its health and performance, and the vendor-agnostic tools for collecting and analyzing its telemetry data. In this final post, we’ll show you how Datadog helps you monitor and alert on Karpenter alongside your Kubernetes cluster and the infrastructure that runs it. We’ll also look at how Datadog Cloud Cost Management (CCM) helps you correlate Karpenter’s scaling activity with cloud spend so you can actively optimize your costs.

We’ll show you how to:

  • Enable the Karpenter integration

  • Visualize and alert on your Karpenter metrics

  • Track cost efficiency with Cloud Cost Management

Enable the Karpenter integration

Datadog’s Karpenter integration runs as a check in the Datadog Agent and scrapes Karpenter’s Prometheus endpoint to collect metrics. In Kubernetes, the easiest way to configure the check is to use Autodiscovery, which reads integration configuration from Karpenter’s controller pods via annotations and automatically applies it so the Agent knows where to find Karpenter’s /metrics endpoint.

Configure metric collection with Kubernetes annotations

The openmetrics_endpoint parameter defines the location of Karpenter’s /metrics endpoint. By default, Karpenter uses port 8080, but this could be different depending on how you’ve installed Karpenter and whether you’ve set its METRICS_PORT environment variable. See Part 2 of this series for more information on how to determine your configured port, then set the openmetrics_endpoint value in your Karpenter controller’s annotation accordingly.

You can use the %%host%% template variable to enable the Agent to automatically target the controller pod’s IP address. This allows you to avoid maintaining static configuration files and automatically keeps the integration’s configuration current as pods churn.

To ensure the Datadog Agent can scrape Karpenter’s metrics without manual pod-level modifications, you can provide the check configuration directly to the Agent. Depending on your deployment method, add the following configuration to your Datadog Operator manifest (under spec.override.nodeAgent.extraConfd) or your Helm values (under datadog.confd). This approach uses Autodiscovery to identify the Karpenter controller and apply the check dynamically.

# karpenter.yaml configuration for the Datadog Agent

ad_identifiers:

- karpenter

init_config: {}

instances:

- openmetrics_endpoint: "http://%%host%%:8080/metrics"

Verify the Agent is scraping Karpenter

Next, validate that the integration is configured properly. Run the agent status command from the Agent pod that’s running on the same node as the Karpenter controller’s leader pod:

kubectl exec -it <datadog-agent-pod-name> agent status

Confirm that karpenter appears in the Checks section of the output. If it does, the Agent is successfully collecting Karpenter telemetry data. You can then open Datadog and start viewing your Karpenter metrics.

Optionally enable Karpenter log collection

You can also send Karpenter logs to Datadog for storage, exploration, and analysis. To enable log collection, add the following annotation:

metadata:

annotations:

ad.datadoghq.com/controller.logs: |

[

{

"source": "karpenter",

"service": "karpenter",

"tags":["team:platform"]

}

]

The Agent will then collect logs from the Karpenter controller container and apply the specified tags. The service tag is a key piece of unified service tagging, which helps you correlate metrics and logs throughout your environment. The team tag can help you clarify ownership, improve collaboration, and accelerate troubleshooting.

Visualize and alert on your Karpenter metrics

Once the Datadog Agent is collecting Karpenter telemetry data, you can graph Karpenter metrics over time, filter by tags to isolate the performance of individual clusters or NodePools, and create monitors to alert on issues such as slow scaling or upstream problems with your cloud provider.

Track NodeClaim creation and scheduling pressure

Karpenter emits NodeClaim life cycle metrics that help you see whether it’s creating the capacity your workloads need. You can graph karpenter.nodeclaims_created to see the rate at which Karpenter is creating NodeClaims. Other NodeClaim life cycle metrics give you visibility into Karpenter’s provisioning progress—for example to spot nodes that have been created but not yet registered or initialized.

You can add context to these metrics by correlating them with Kubernetes scheduling pressure and activity. Datadog enables you to track Kubernetes FailedScheduling events, which indicate workloads that don’t have a node to run on and are Karpenter’s cue to add capacity. When Karpenter is behaving as expected, these events are followed by NodeClaim activity and then successful pod scheduling as capacity becomes available.

You should alert on NodeClaim activity to proactively detect issues in the provisioning process. For example, you can create an anomaly detection monitor to alert if the difference between NodeClaims created and NodeClaims registered—when capacity is actually added to the cluster—is unusually high.

Detect slow scaling by monitoring reconciliation time and cloud provider performance

When Karpenter is slow to react, the cause often shows up in controller reconciliation latency. Datadog enables you to visualize Karpenter’s p95 or p99 reconciliation times so you can spot emerging latency. Sustained increases can indicate overly complex constraints, API throttling, or control plane issues that force Karpenter to retry or re-evaluate more often than expected.

You should also alert on reconciliation latency, since it can directly affect the performance of the applications in your cluster. To avoid noisy alerts, create a monitor that triggers when reconciliation time stays above a threshold for a sustained period rather than alerting on every short spike.

When scaling slows down, the bottleneck is often not Karpenter’s scheduling simulations, but rather cloud provider API latency, throttling, or capacity limits. Graph karpenter_cloudprovider_duration_seconds to see whether Karpenter’s cloud API calls are taking longer than usual. Then graph karpenter_cloudprovider_errors_total to confirm whether the slowdown coincides with more failed requests (for example, throttling or capacity-related errors).

Track spot interruptions and recovery behavior

If you run Spot instances (or rely on interruption or termination signals), you want visibility into both the volume of interruptions and how quickly Karpenter responds. Once you’ve configured interruption handling, you can track the karpenter.interruption.received_messages.count metric and visualize the volume of interruption notices across your clusters. By correlating this with karpenter.nodeclaims_terminated, you can check that Karpenter is proactive in draining nodes before they are reclaimed by the cloud provider, preventing sudden capacity gaps.

Track cost efficiency with Cloud Cost Management

Monitoring Karpenter metrics gives you a clear picture of when and how it scales your cluster. To help you understand the cost effects of this scaling activity, Datadog Cloud Cost Management (CCM) gives you visibility into the details of your cloud spend, in the same platform where you’re monitoring Karpenter and the rest of your environment. CCM helps you track and manage Kubernetes costs so you can see how Karpenter’s consolidation and Spot usage affect spend over time.

Karpenter can reduce cost in two main ways: consolidation (moving workloads onto fewer, better-utilized nodes) and Spot usage (preferring Spot instances when your NodePool allows it). CCM doesn’t attribute savings to a single Karpenter consolidation event, because it bases your cost visibility on aggregated and delayed cost data from your cloud provider. Once CCM is ingesting your cloud cost data, you can observe the effect of Karpenter over days or weeks.

See where Kubernetes spend goes

To bridge the gap between autoscaling and actual spend, CCM provides granular container cost allocation that attributes expenses directly to your namespaces, pods, and custom labels. This visibility allows you to pinpoint high-cost workloads, track how infrastructure changes drive your cloud spend over time, and identify optimization opportunities. CCM’s GPU allocation capability clarifies which of your workloads are contributing to high GPU costs. And by using the Cloud Cost Explorer to group by tags, you can manage cross-zone networking cost by co-locating chatty workloads.

Datadog Cloud Cost Explorer showing AWS cost over the past month with a stacked time series chart and a table breakdown below. The view is grouped by tags (service name plus source and destination availability zones) to highlight which services and AZ pairs are driving cross-zone networking spend.

Correlate Karpenter behavior with cost

Karpenter’s consolidation behavior is a key to its ability to help you manage costs. CCM gives you visibility into idle or underutilized resources, which can help you see the cost of capacity that Karpenter hasn’t yet consolidated or that could be right-sized. Once you spot these optimization opportunities, you can investigate the causes of underutilization, such as malformed or disabled consolidation configurations, or quotas that prevent Karpenter from optimizing.

The following screenshot shows a spike in Kubernetes cluster costs. When a platform team sees this on a dashboard, they might investigate by reviewing their Karpenter configuration. Disabled consolidation or a disruption budget set to zero might explain the cause. After resolving the configuration issue, the team can rely on CCM to confirm that costs drop to their expected levels as Karpenter consolidates nodes again.

Datadog Cloud Cost chart titled ‘Clusters Cost Over Time’ showing mostly steady Kubernetes cluster spend followed by a sharp spike near the end of the time range. Filters indicate AWS cost data scoped to Kubernetes, grouped by cluster name, illustrating how a sudden increase in cluster costs stands out for investigation.

Monitor and govern spend

Use Cloud Cost Monitors to get notified when spend crosses a threshold or deviates from an expected pattern. For example, you can set a threshold or anomaly monitor on daily or weekly Kubernetes spend so that if a Karpenter misconfiguration (such as accidentally disabling consolidation) causes a sudden spike, your team is alerted. You can also use Notebooks to document cost postmortems and share with stakeholders how changes in Karpenter configuration or NodePools affected spend.

Monitor Karpenter with Datadog

In this post, we’ve shown you how to enable the Karpenter integration in Datadog, visualize and alert on NodeClaim life cycles, and use Cloud Cost Management to correlate Karpenter’s behavior with your spend.

By unifying these signals, you move beyond simple autoscaling to automated efficiency. You can now ensure that every node Karpenter provisions is not only necessary for application performance but also optimized for cost, giving your platform team the data needed to prove the ROI of your cloud-native infrastructure.

See the Karpenter documentation for more information. To get started using Datadog to monitor Karpenter, see the Karpenter integration documentation.

If you’re new to Datadog, sign up for a 14-day free trial.