﻿# Read a resource recommendation before restarting model replicas

Read VPA recommendation, policy and application mode separately before changing resources of a model replica.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-ks-vpa-requests/
Language: en

A model container has a new CPU and memory recommendation, but its running resources have not changed. With Vertical Pod Autoscaler, a recommendation and its application are separate paths. Read the installed VPA version, updateMode and container policies before assuming the updater failed or restarting expensive model replicas manually.

## Identify the component boundary

The recommender writes container recommendations into VPA status. Admission handles resources for newly created Pods, while the updater applies eligible changes through the supported update mechanism. VPA is an installed extension with a custom resource, not evidence implied by a Deployment alone. Confirm that the target reference and controlled container actually match the intended model workload.

## Read the selected update mode

Off can leave recommendations visible without changing Pod resources. Initial applies at creation. Other supported modes can involve recreation or in-place changes, depending on the installed release and enabled capabilities. Inspect that exact contract instead of assuming every recommendation implies an immediate restart or that every update can preserve the existing model process.

## Interpret bounds and policies

Compare target, lowerBound, upperBound and uncappedTarget with the configured minimums, maximums and controlled values. A policy can constrain the applied recommendation. A lower bound is not a certification of stable service, and a target is not a latency guarantee. Read each container independently so a lightweight helper's history does not stand in for the model's requirements.

## Check what usage represents

CPU and host memory observations do not directly describe GPU memory capacity or the number of required accelerators. Separate model loading peaks, steady serving, cache growth and occasional input extremes in the evidence. Review documented compatibility limitations for the installed VPA and Pod resource features. A plausible status value is insufficient proof that the intended change can be admitted.

## Review before application

A recommendation-only observation period can compare status with measured behavior without restarting workers. If an application mode is later evaluated, use a disposable equivalent and inspect admitted resources, update events and useful model readiness. Success means the chosen mechanism applies an understood recommendation. It does not validate workload representativeness, eliminate startup interruption or prove that a smaller request satisfies every inference scenario.

## Primary references

[Vertical Pod Autoscaler](https://raw.githubusercontent.com/kubernetes/autoscaler/master/vertical-pod-autoscaler/README.md).

[VPA Components](https://raw.githubusercontent.com/kubernetes/autoscaler/master/vertical-pod-autoscaler/docs/components.md).

[VPA API Reference](https://raw.githubusercontent.com/kubernetes/autoscaler/master/vertical-pod-autoscaler/docs/api.md).

Related reading: [Idle GPU, throttled CPU: diagnosing container CPU quota](/journal/cgroup-cpu-throttling-gpu-feeder/); [GPU autoscaling: a free card is not a ready replica](/journal/autoscaling-gpu-cold-start/).
