Skip to main content

Vertical Pod Autoscaling (VPA)

In Kubernetes or OpenShift you can set Vertical Pod Autoscaling for your application or microservice (vpa object).
This page explains you how.


1. In your manifest repository's main branch, you will find the values.yaml file, it showld be in the following folder structure [environment]/[project]/[application]

2. In the values.yaml file, search for the Additional Customizations section, you will find it like this:


## Additional Customizations #################################################

3. Bellow the section title, add the following configuration and change the values as you need:

  # - Vertical Pod Autoscaling (VPA)
vpa:
# Enable VPA: true or false
enabled: false
# Defines additional labels
additionalLabels:
#key: value
# Defines annotations in key value pair
annotations:
#key: value
# Define container policies for individual containers
containerPolicies: []
updatePolicy:
updateMode: Auto
#####

3. Commit and enjoy! ✨