Vertical Pod Autoscaler on APPUiO Cloud
request values in your deployments is not an easy task. To help our customers, we have enabled the use of the
VerticalPodAutoscaler object on all APPUiO Cloud zones. This blog post will show you how to use it.
To use the
VerticalPodAutoscaler object, you need an APPUiO Cloud project with some payload deployed and running. The Vertical Pod Autoscaler project on GitHub contains some sample YAML files that deploy a very simple demo application to your project.
Here is the YAML required to create a
VerticalPodAutoscaler that will analyze the resource consumption of the
The VPA requires a few moments to gather data and provide recommendations from it. After some time, during which your deployment should have been running in order to gather meaningful data, run the following command and you should see an output similar to this in your terminal:
$ oc get vpa vpa-recommender --output yaml
- status: "True"
- containerName: fortune-container
You should analyze with care the values provided by the autoscaler for your deployment. Don’t blindly apply its recommendations; let your application run for a while and study the numbers closely.
Some tips for your analysis, all inside the
status.recommendation part of the response:
.containerRecommendations[*].targetvalue could be considered indicative for
.containerRecommendations[*].upperBoundvalue could be used as an indication to set
For more hints, the OpenShift dashboard shown on this page of the APPUiO Cloud documentation shows utilization numbers for both CPU and memory limits. Those values function as a suitable supplementary information source and must be taken into consideration.
The APPUiO Cloud documentation has more information about the
- APPUiO Cloud
AppCat Now Standard on All APPUiO Managed OpenShift Clusters on ExoscaleRead more
Watch the Recording of „How to Keep Container Operations Steady and Cost-Effective in 2024“Read more
Zusammenarbeit und Innovation werden gefeiert: VSHN auf dem Red Hat Summit Connect Zürich 2024Read more
Unser Expertenteam steht für dich bereit. Im Notfall auch 24/7.Kontakt