Aller au contenu

Goldilocks#

Goldilocks is a tool that simplifies VPA configuration. When a namespace is labeled appropriately (see below), it automatically creates a VPA Custom Ressource for each workload present in the namespace (Deployment, Statefulset, Daemonset,...).

Configuration#

After Goldilocks deployment, we have to add labels on desired namespaces:

To create VPA resource for pods on a namespace:

kubectl label ns <namespace> goldilocks.fairwinds.com/enabled=true

To deploy the vpa resource on "Auto" mode (vpa changes the resources automatically)

kubectl label ns <namespace> goldilocks.fairwinds.com/vpa-update-mode="auto"

For more information see: documentation