get_kubernetes_cost_trends
Track Kubernetes cost trends over time to see if cluster spend is growing, shrinking, or stable. Filter by cluster, namespace, and granularity.
Instructions
Kubernetes cost trend over time from stored daily snapshots. Shows whether cluster spend is growing, shrinking, or stable.
Snapshots are stored automatically each time get_kubernetes_costs is called. The first snapshot date is the start of your trend history.
Args: days: Lookback window in days (default 30) cluster: Filter to a specific cluster name namespace: Filter to a specific namespace granularity: "daily" or "weekly"
Examples: - "Is our Kubernetes spend growing?" - "Show me the K8s cost trend for the last 30 days" - "How has the production namespace spend changed?" - "Is the cluster getting more or less expensive?" - "Show weekly Kubernetes cost trends"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| cluster | No | ||
| namespace | No | ||
| granularity | No | daily |