# vpa

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| file://../hopsworkslib | hopsworkslib | 0.1.0 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| allowOnlyOneReplica | bool | `true` | If true the vpa updated will be confogured to update the resource automatically even if one single replica is configured |
| enablePrometheusRecommender | bool | `true` | If true the recommender will be connected to prometheus |
| enablePrometheusScrapper | bool | `true` | If true the vpa metrics will be connected to prometheus |
| enabled | bool | `true` |  |
| hopsworkslib | object | `{}` | override hopsworkslib values |
| image.name | string | `"k8s-vpa"` |  |
| image.tag | float | `1.2` |  |
| imagesTag | string | `"1.2.1"` |  |
| recommenderSettings | object | `{"inRecommendationBoundsEvictionLifetimeThreshold":"12h","podUpdateThreshold":"0.1"}` | Recommender settings https://github.com/kubernetes/autoscaler/blob/5cd491a5a18b4b93f742351e3ebb195e358d2ea3/vertical-pod-autoscaler/pkg/updater/priority/update_priority_calculator.go#L36 |
| recommenderSettings.inRecommendationBoundsEvictionLifetimeThreshold | string | `"12h"` | The default value is 12h. This is the time needed to do a downscale |
| recommenderSettings.podUpdateThreshold | string | `"0.1"` | The default value is 0.1 Set to 0 to always update even if the recommendation is in bounds Notice it needs to be an string |
| teardownWhenInstalling | bool | `true` | If true, the vpa will be deleted if already installed |
| teardownWhenUninstall | bool | `true` | if true, the vpa will be deleted if already installed when doing helm uninstall |