Skip to main content
Kai monitors your Amazon EKS cluster continuously, surfacing over-provisioned pods, underutilized nodes, and missing autoscaling policies before they cause outages.

The scenario

A platform team runs a production EKS cluster across several namespaces. CPU alerts are intermittent but investigation is slow—engineers run manual kubectl commands across hundreds of pods to correlate logs, metrics, and events.
Manual Kubernetes troubleshooting challenges across namespaces and resources

Manual Kubernetes troubleshooting challenges

The team asks Kai to assess the cluster end-to-end, identify resource waste, and recommend autoscaling policies where they are missing.

Walkthrough

1
Connect Kai to your cluster
2
Follow the Kubernetes connection guide to give Kai access to your EKS cluster. Once the connection shows Connected, Kai can query the cluster directly.
3
Analyze pod resource utilization
4
@kai #report analyze pod resource utilization in production namespace
5
Pod resource utilization analysis showing CPU and memory usage patterns
6
Pod resource utilization analysis
7
Pod analysis visualization with performance recommendations
8
Pod analysis visualization with performance recommendations
9
Kai surfaces three findings: auth-service and notification-worker are over-provisioned (18–21% CPU), api-gateway and cache-redis are appropriately sized, and payment-processor is dangerously under-provisioned at 80–86% CPU and 88–94% memory—at high risk of OOM kills and service disruption.
10
Identify underutilized nodes
11
@kai #chart identify nodes with <30% CPU utilization
12
Node CPU utilization analysis showing underutilized instances and cost waste
13
Node CPU utilization analysis showing underutilized instances
14
Kai finds five nodes averaging below 30% CPU (some as low as 12–15%), wasting approximately $573 per month. Oversized t3.xlarge instances running lightweight workloads—combined with poor pod scheduling—leave some nodes with only 2–3 pods while others carry 8–9.
15
Get HPA recommendations
16
@kai #recommend HPA policies for web deployments
17
HPA policy recommendations for web deployment auto-scaling configuration
18
HPA policy recommendations for auto-scaling
19
Kai flags payment-processor as critically at risk—only 2 replicas at 80–86% CPU, no autoscaling in place. It recommends adding HPA to api-gateway to handle traffic spikes, and removing excess capacity from user-service and auth-service.

What made this work

  • Kai queries the cluster API directly, replacing manual kubectl sessions and tool-switching.
  • Cross-layer correlation links pod utilization, node capacity, and scheduling patterns in a single analysis pass.
  • #report and #chart produce structured output Kai can reason over before surfacing findings.
  • #recommend generates actionable HPA policy changes rather than a raw metrics dump.
  • CloudKeepers can run this analysis on a schedule so findings arrive before on-call engineers are paged.

Try it yourself

Kai agent reference

Full capabilities of Kai, the Kubernetes Engineer agent
https://mintcdn.com/cloudthinker/aLd-ttc-SCW-aFky/images/icons/kubernetes.svg?fit=max&auto=format&n=aLd-ttc-SCW-aFky&q=85&s=7c03292954ff635a1994623a5c39971b

Kubernetes connection

Step-by-step guide to connecting CloudThinker to your EKS cluster

Topology Explorer

Map Kubernetes service dependencies for faster incident root cause analysis

CloudKeepers

Run continuous health checks across your Kubernetes workloads automatically