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.
π‘ 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-namespaceEnable 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 defaultAccess 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 BoundUse 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: 460Migraph 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 describeand logs for troubleshooting - Automate where possible to reduce human error

Recommended
Kubernetes Recipes β The Complete Book100+ production-ready patterns with detailed explanations, best practices, and copy-paste YAML. Everything in one place.
Get the Book βLearn by Doing
CopyPasteLearn β Hands-on Cloud & DevOps CoursesMaster Kubernetes, Ansible, Terraform, and MLOps with interactive, copy-paste-run lessons. Start free.
Browse Courses βπ Deepen Your Skills β Hands-on Courses
Courses by CopyPasteLearn.com β Learn IT by Doing
