Skip to content

Insights: resource recommendations

Use Insights for rightsizing: reduce compute waste and identify opportunities to reduce costs through CPU and memory request/limit recommendations from observed pod utilization. Review and apply changes explicitly. PRA and PRP provide separate automatic resource controls.

Use a connected Agent with Insights support and a working Kubernetes Metrics API. Check versions and requirements. In the cluster Insights view, select Configure and choose namespaces, or opt in through your namespace configuration:

Terminal window
kubectl top pods -n <namespace> --containers
kubectl label namespace <namespace> insights.kedify.io/scrape=true --overwrite

With label-gated collection, false, disabled and paused opt a namespace out; other label values opt it in. An explicit agent.metricsWatchNamespace list adds namespaces even if their label is disabled. Without label gating, an empty explicit list selects all namespaces. To stop collection for a namespace, remove it from the explicit list and restore or disable its label through the configuration owner. See Agent collection settings.

Recommendations require utilization history; check timestamps and the observation interval rather than expecting an immediate result. Stopping collection does not revert resource changes.

Insights namespace monitoring

The organization view summarizes recommendations across clusters. The cluster view filters by namespace and workload. Recommendations identify a workload, container and resource target.

Insights overview

ValueCheck before applying
Cluster, namespace, workload and containerThey match the intended target
Current and recommended requests/limitsLive values still match the recommendation; preserve CPU/memory units
Observation interval and dateHistory includes representative peaks, warmup and recent releases
ConfidenceMore observation history supports review; this is not a probability that a change is safe
Explanation and generated commandThe change fits the workload’s latency, error, throttling and OOM limits
  1. Compare the recommendation with live configuration and the owning Helm/GitOps source.
  2. Check workload latency, errors, throttling, OOM events and peak demand.
  3. Apply through the owner. For source-managed workloads, use Helm or GitOps. Dashboard Apply updates supported workload resources, or Helm values for managed KEDA components. Ignore dismisses recommendations you do not intend to use.
  4. Validate the change and roll back if needed. Applied status alone does not demonstrate improved performance.

Insights recommendation detail

Use Export for selected or filtered recommendations. Formats include JSON, Markdown, CSV, a Kustomize ZIP bundle and a kubectl script. Check target identities and inspect the generated changes before applying them.

Insights recommendation export

Troubleshoot missing recommendations · Interpret FinOps estimates