Member-only story

VPA + Goldilocks

Park Sehun
2 min readSep 23, 2023

When you manage your resources in Kubernetes, you will need to optimize resource usage to improve performance, reduce costs and automate resource management. Goldilocks and VPA provide valuable capabilities for helping out the capabilities mentioned above.

VPA

VPA is a Kubernetes component that automatically adjusts the resource requests and limits of pods based on their actual resource usage. This monitors the resource utilization of pods and adjusts their resource allocations dynamically.

How does it work?

How to install it?

download the source code of VPA and install command

git clone https://github.com/kubernetes/autoscaler.git
cd vertical-pod-autoscaler
./hack/vpa-up.sh

This will create all resources in the namespace of kube-system. Now you are ready for the VPA capability and onboard the deployment with VPA.

Let’s do the demo with sample code.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (1)

Write a response