﻿# Classify a model Pod QoS using all its containers

Derive QoS from the complete admitted Pod, including helpers and init containers, rather than only the model process.

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

The model container has equal CPU and memory requests and limits, yet the Pod is Burstable. A helper or initialization container does not meet the same criteria. QoS is assigned to the whole Pod under documented rules; a carefully sized main container alone does not establish Guaranteed classification.

## Inspect every relevant container

Read the actual application and init-container resource settings after defaulting and admission. The Guaranteed criteria apply to both categories. A newly injected helper can change the result even when the model's own settings are unchanged. Ephemeral debug containers have different resource-definition rules and should not be treated as ordinary omitted request entries.

## Apply the Guaranteed criteria

Under the documented container-level model, every relevant container needs CPU and memory requests and limits, with each request equal to its corresponding limit. Check the resulting values rather than whether every field was explicitly written by the author. Limits can supply matching default requests under the applicable admission behavior.

## Distinguish Burstable from BestEffort

A Pod that misses Guaranteed criteria but has a CPU or memory request or limit can be Burstable. BestEffort has a different absence-of-compute-resources criterion. An accelerator resource count is not a substitute for checking the CPU and host-memory fields. Keep the actual qosClass and the settings used to derive it in the same record.

## Avoid a protection myth

A QoS label does not promise that the Pod can never stop or be evicted. Node pressure, priority, usage relative to requests and other resource categories have their own rules. Do not inflate requests solely to obtain a label without confirming workload need and scheduling consequences. Classification and resource planning remain distinct tasks.

## Test the helper's effect

In an isolated fixture, compare a model-only Pod with a matching helper, then with a helper missing one compute-resource requirement. Verify the admitted settings and assigned class. Acceptance means the observed class is fully explainable and changes are intentional. It does not prove adequate throughput, correct GPU sharing or immunity from hardware failures merely because the final classification is Guaranteed.

## Primary references

[Configure Quality of Service for Pods](https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/).

[Resource Management for Pods and Containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/).

[Node-pressure Eviction](https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/).

Related reading: [OOMKilled or Evicted: identifying why a Pod stopped](/journal/kubernetes-oomkilled-vs-evicted/); [GPUs in Kubernetes: scheduling CPU, RAM and accelerators together](/journal/kubernetes-gpu-scheduling/).
