Skip to content

Vertical Pod Autoscaler values#

Values under vpa configure the Vertical Pod Autoscaler: its admission controller, recommender and updater.

Generated from the Hopsworks Helm chart 5.2.0-alpha-1791549041 (Hopsworks 5.2.0).

Deployed according to the first of these values that is set: global._hopsworks.vpaEnabled, global._hopsworks.full_platform.

Defaults as YAML
vpa:
  allowOnlyOneReplica: true
  cleanupOnUninstall:
    enabled: true
    ttlSecondsAfterFinished: null
  enablePrometheusRecommender: true
  enablePrometheusScrapper: true
  enabled: true
  hopsworkslib: {}
  image:
    name: k8s-vpa
    tag: 1.7.1-2
  imagesTag: 1.7.1
  installController: true
  recommenderSettings:
    inRecommendationBoundsEvictionLifetimeThreshold: 12h
    podUpdateThreshold: '0.1'
  teardownWhenInstalling: true
  teardownWhenUninstall: true
vpa #
Type object, default {}. override vpa values
vpa.allowOnlyOneReplica #
Type bool, default true. If true the vpa updater is configured to update resources even when only one replica is running
vpa.cleanupOnUninstall #
Type object, default {"enabled":true,"ttlSecondsAfterFinished":null}. post-delete cleanup of the VPA ConfigMap. cm.yaml defines vpa as a Helm hook with no delete-policy, so Helm never removes it; this deletes it by name on uninstall.
vpa.cleanupOnUninstall.enabled #
Type bool, default true. enable the post-delete VPA ConfigMap cleanup hook
vpa.cleanupOnUninstall.ttlSecondsAfterFinished #
Type string, default nil. ttlSecondsAfterFinished for the cleanup Job; null falls through to the global default
vpa.enablePrometheusRecommender #
Type bool, default true. If true the recommender will be connected to prometheus
vpa.enablePrometheusScrapper #
Type bool, default true. If true the vpa metrics will be connected to prometheus
vpa.enabled #
Type bool, default true.
vpa.hopsworkslib #
Type object, default {}. override hopsworkslib values
vpa.image.name #
Type string, default "k8s-vpa".
vpa.image.tag #
Type string, default "1.7.1-2". Installer toolbox version. Independent of imagesTag.
vpa.imagesTag #
Type string, default "1.7.1". Upstream VPA release. Selects the admission-controller, recommender and updater images, and must match the VPA version the installer image was built from. Not tied to image.tag.
vpa.installController #
Type bool, default true. If true, install the VPA controller (CRDs, admission controller, recommender, updater). Set to false if VPA is already installed in the cluster.
vpa.recommenderSettings #

Type object. Recommender settings https://github.com/kubernetes/autoscaler/blob/5cd491a5a18b4b93f742351e3ebb195e358d2ea3/vertical-pod-autoscaler/pkg/updater/priority/update_priority_calculator.go#L36

Default
inRecommendationBoundsEvictionLifetimeThreshold: 12h
podUpdateThreshold: '0.1'
vpa.recommenderSettings.inRecommendationBoundsEvictionLifetimeThreshold #
Type string, default "12h". The default value is 12h. This is the time needed to do a downscale
vpa.recommenderSettings.podUpdateThreshold #
Type string, default "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
vpa.teardownWhenInstalling #
Type bool, default true. If true, the vpa will be deleted if already installed
vpa.teardownWhenUninstall #
Type bool, default true. if true, the vpa will be deleted if already installed when doing helm uninstall