Skip to main content

Update the Vertical Pod Autoscaler Project (VPA)

Cloud service provider relevance: EKS, AKS, and GKE.

To use Ocean's automatic right-sizing feature, you need Vertical Pod Autoscaler project (VPA) 1.4.1 or above installed on your cluster.

If you need to upgrade VPA:

  1. Update your local Helm chart repository cache.

    helm repo update
  2. Run this command to update the ocean-vpa change <ocean-vpa-release-name> and <existing-vpa-namespace> fields according to your cluster.

    helm upgrade --install --wait <ocean-vpa-release-name> spot/ocean-vpa \
    --namespace <existing-vpa-namespace>

  3. If a message appears to inform you that a new CRD version is available, you must update the CRD to the new version with the following command (copy and paste the command from the terminal, which contains the chart version). Here is an example:

    sample-terminal-screen
    kubectl apply -f https://raw.githubusercontent.com/spotinst/charts/refs/tags/ocean-vpa-<chart-version>/charts/ocean-vpa/crds/vpa-crd.yaml