πŸ“šBook Signing at KubeCon EU 2026Meet us at Booking.com HQ (Mon 18:30-21:00) & vCluster booth #521 (Tue 24 Mar, 12:30-1:30pm) β€” free book giveaway!RSVP Booking.com Event
Autoscaling beginner ⏱ 15 minutes K8s 1.28+

Goldilocks: VPA Recommendations Dashboard

Deploy Goldilocks to visualize Vertical Pod Autoscaler recommendations across all namespaces. Right-size Kubernetes resource requests and limits with a web dashboard.

By Luca Berton β€’ β€’ πŸ“– 5 min read

πŸ’‘ Quick Answer: Deploy Goldilocks to visualize Vertical Pod Autoscaler recommendations across all namespaces. Right-size Kubernetes resource requests and limits with a web dashboard.

The Problem

Engineers frequently search for this topic but find scattered, incomplete guides. This recipe provides a comprehensive, production-ready reference.

The Solution

Install Goldilocks

# Prerequisites: VPA must be installed
helm repo add fairwinds-stable https://charts.fairwinds.com/stable
helm install vpa fairwinds-stable/vpa --namespace vpa --create-namespace

# Install Goldilocks
helm install goldilocks fairwinds-stable/goldilocks --namespace goldilocks --create-namespace

Enable for a Namespace

# Label namespaces to enable VPA recommendations
kubectl label namespace default goldilocks.fairwinds.com/enabled=true
kubectl label namespace production goldilocks.fairwinds.com/enabled=true

# Goldilocks creates VPA objects in "Off" mode (recommend-only)
kubectl get vpa -n default

Access the Dashboard

kubectl port-forward -n goldilocks svc/goldilocks-dashboard 8080:80
# Open http://localhost:8080
# Shows per-container recommendations for: Lower Bound, Target, Upper Bound

Use Recommendations

# Before (guessing)
resources:
  requests:
    cpu: 500m
    memory: 512Mi
  limits:
    cpu: "1"
    memory: 1Gi

# After (Goldilocks target recommendation)
resources:
  requests:
    cpu: 120m       # Was over-provisioned by 4x!
    memory: 230Mi   # Was over-provisioned by 2x!
  limits:
    cpu: 250m
    memory: 460Mi
graph LR
    A[Goldilocks] -->|Creates| B[VPA per Deployment]
    B -->|Analyzes| C[Resource usage history]
    C -->|Recommends| D[Optimal requests/limits]
    D -->|Dashboard| E[Visual recommendations]

Frequently Asked Questions

Does Goldilocks change my resources automatically?

No β€” it runs VPA in β€œOff” mode (recommendation only). You review the dashboard and manually update resource values. This is the safest approach.

How long until I get good recommendations?

VPA needs at least 24-48 hours of data for reliable recommendations. For workloads with weekly patterns, wait a full week.

Best Practices

  • Start with the simplest approach that solves your problem
  • Test thoroughly in staging before production
  • Monitor and iterate based on real metrics
  • Document decisions for your team

Key Takeaways

  • This is essential Kubernetes operational knowledge
  • Production-readiness requires proper configuration and monitoring
  • Use kubectl describe and logs for troubleshooting
  • Automate where possible to reduce human error
#goldilocks #vpa #right-sizing #cost-optimization #dashboard
Luca Berton
Written by Luca Berton

Principal Solutions Architect specializing in Kubernetes, AI/GPU infrastructure, and cloud-native platforms. Author of Kubernetes Recipes and creator of CopyPasteLearn courses.

Kubernetes Recipes book cover

Want More Kubernetes Recipes?

This recipe is from Kubernetes Recipes, our 750-page practical guide with hundreds of production-ready patterns.

Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens