VOOZH about

URL: https://thenewstack.io/fairwinds-goldilocks-helps-set-kubernetes-resources-just-right/

⇱ Fairwinds' Goldilocks Helps Set Kubernetes Resources Just Right - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2019-10-21 12:14:12
Fairwinds' Goldilocks Helps Set Kubernetes Resources Just Right
news,
Kubernetes

Fairwinds’ Goldilocks Helps Set Kubernetes Resources Just Right

A new open source tool from Fairwinds, called Goldilocks, allows users to set the amount of resources use Kubernetes can use.
Oct 21st, 2019 12:14pm by Susan Hall
👁 Featued image for: Fairwinds’ Goldilocks Helps Set Kubernetes Resources Just Right

A new open source tool from Fairwinds called Goldilocks aims to help teams allocate resources to their Kubernetes deployments and get it just right.

It’s a tool that helps teams set the resource requests and limits for their Kubernetes workloads. It’s not easy to know how to set them, and some teams never set them at all, to ill effect, according to the company.

“Every time you create a workload in Kubernetes, you have to specify how much memory and how much CPU that workload is going to use,” explained Robert Brennan, director of open source at the company.

“There’s kind of two halves to getting this right. If you if you set the requests too low, then a normal application is going to look like it’s using too much memory, too much CPU, and Kubernetes will kill it. Which will cause your apps become very unreliable. It could cause downtime, and it could definitely cause your engineers’ pagers to go off in the middle of the night, which is always a pain.

“The other half of it is if you set it too high, which is what people tend to do, then you [allocate] more compute the necessary and your cloud bill is going to be much higher than it needs to be,” he said.

Goldilocks employs the Kubernetes Vertical Pod Autoscaler (VPA), which contains a recommendation engine based on the current amount of resources used in your pods to provide a guideline.

The primary goal of VPA is to actually set those for you, but the company isn’t comfortable with the way it does this and prefers to use it primarily for recommendations, Goldilocks’s creator Andy Suderman writes in a blog post.

“The way we utilize the VPA recommendation engine is simple. We run a controller in the cluster that watches for namespaces that are labeled with goldilocks.fairwinds.com/enabled=true. Within those enabled namespaces, we look at every deployment object and create a corresponding VPA object. That VPA is set with Mode: Off and doesn’t actually modify your resource requests and limits; it just sits there and provides a recommendation,” he wrote.

To view these recommendations, you would have to use kubectl to query every VPA object, which could quickly become tedious if you have medium to large deployments.

The other part of Goldilocks is a dashboard that presents, in one place, two types of recommendations, depending on the quality of service you’re looking for:

  • Guaranteed, which means the application will be scheduled on a node where resources will be assured.
  • Burstable, which means the application will be guaranteed a minimum level of resources but will be given more if and when available.
  • Best effort, which is not recommended, means that no requests or limits are set and the application will only be allocated resources when all other requests are met.

The Goldilocks software is available on GitHub.

The Boston-based managed infrastructure provider previously released an open source tool called Polaris that conducts around 20 checks to ensure that deployments to Kubernetes are configured to best practices.

Image by congerdesign from Pixabay.

TRENDING STORIES
Susan Hall is the Sponsor Editor for The New Stack. Her job is to help sponsors attain the widest readership possible for their contributed content. She has written for The New Stack since its early days, as well as sites...
Read more from Susan Hall
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.