Skip to main content

Optimize

Optimize in the sidebar (/optimise) brings together every cost, performance, configuration and security recommendation NudgeBee finds across your Kubernetes clusters, cloud accounts and self-hosted VMs — and the automation that applies them.

info

Prerequisites: at least one connected Kubernetes cluster or cloud account. Recommendations appear after the first scan and refresh as usage data accumulates.

The Optimize tabs​

TabWhat it shows
SummaryNuBi's briefing: potential savings, the findings to fix first, and cost by account
CostRight sizing, infra upgrade and spot recommendations with their savings
ConfigurationConfiguration checks, grouped by check
SecurityImage Scan, CIS Scan, VM Vulnerabilities and Cloud Posture
ResolutionsEvery attempt to resolve a recommendation, and its outcome
Auto OptimizeAutomations that apply right-sizing for you, and their approvals
LLM AnalyserNudgeBee's own AI spend (when the AI usage and cost tab is turned on)
AI GatewayAI Gateway usage (when the gateway is enabled for your installation)

Each cluster and cloud account also has its own Optimize tab with the same recommendations for that account — see Kubernetes → Optimize.

Who can see and change what​

  • Summary, Cost, Configuration, Security and Resolutions need read access to recommendations; Auto Optimize needs read access to auto optimize. Tenant and account roles include both.
  • Applying a fix, dismissing a recommendation and creating or changing an Auto Optimize rule need write access to the account.

How right-sizing recommendations are calculated​

For a Kubernetes workload, NudgeBee looks at 14 days of CPU and memory usage (it needs enough data points before recommending anything):

SettingRecommendation
CPU requestThe 99th percentile (P99) of observed CPU usage
CPU limitNot set
Memory requestPeak observed usage plus 15%
Memory limitAt least the request, and at least the container's highest recorded memory plus 15% (no higher than the current limit if the container never exceeded it or got OOM-killed)
After OOM killsMemory is set to at least 25% above the limit the container had when it was OOM-killed
Minimums10m CPU and 100 MiB memory

When you apply a recommendation you can choose a different algorithm (NB Algo, P99, P97 or P95) and add a CPU or memory buffer — see Kubernetes → Optimize.

Savings are the reduction in requested CPU and memory, multiplied by the node's price per unit, the hours in a month and the number of replicas. They are shown in USD per month, even when an account is billed in another currency. A negative value means the recommendation raises cost — usually because a workload is under-provisioned; totals leave these out.

An unused volume is a persistent volume that isn't mounted by any running pod, as reported by the cluster agent.

Raise a pull request instead of patching​

To keep Git as the source of truth, open a recommendation and choose Create PR in Resolve this issue:

  1. Connect a GitHub or GitLab integration.
  2. On Optimize → Cost (or a cluster's Optimize → Right Sizing), click Optimize on the workload's row.
  3. Click Create PR and choose the Git Integration and In-place resize policy. The repository is found from the workload's CI or Argo CD annotations — No source configuration detected means there are none.
  4. NudgeBee's code agent opens the pull request in the background; follow it under Resolutions.

In this section​

Watch a Walkthrough​