Applies to: H2O MLOps on H2O AI Cloud (HAIC), where dynamic scorer pods mount emptyDir volumes with no sizeLimit.

Uncapped emptyDir volumes on MLOps dynamic scorer pods can fill a node's ephemeral storage until the kubelet starts evicting pods. Cap the volumes with a Helm sizeLimit, or back them with a PVC.

Symptom

  • Pods on nodes that host MLOps dynamic scorers are evicted, including pods that have nothing to do with MLOps.
  • kubectl describe node shows the DiskPressure condition, and pod events report the node running low on ephemeral-storage.
  • Evictions come back after pods are rescheduled, because the scorers keep writing to the same uncapped volumes.

Cause

MLOps dynamic scorer pods mount emptyDir volumes with no sizeLimit. An emptyDir without a limit is backed by the node's ephemeral storage, with no cap per pod.

As scorers write to these volumes, node disk use grows until it crosses the kubelet's eviction threshold. The kubelet then evicts pods on that node to reclaim space, and the evicted pods are not always the scorers.

Resolution

1. Confirm it's the scorers.

# Recent evictions across the cluster
kubectl get events -A --field-selector reason=Evicted

# Node condition: look for DiskPressure=True
kubectl describe node <node-name>

# Scorer pod volumes: look for emptyDir with no sizeLimit
kubectl get pod <scorer-pod> -n <mlops-namespace> -o yaml

2. Apply one of two fixes.

Fix

What it does

Trade-off

Helm sizeLimit on the scorer emptyDir

Caps each scorer's scratch space, so one pod can't fill the node

A scorer that hits its limit is evicted itself; size the limit for the largest model

PVC-backed volumes

Moves scorer scratch data off node ephemeral storage

Needs a StorageClass and provisioning; more moving parts

Apply the change through the MLOps Helm values, then roll the scorer pods. The Helm value that controls scorer volumes depends on your MLOps chart version. Check your chart's values.yaml, or contact H2O Support for the exact setting.

How to verify

  1. The scorer pod spec shows sizeLimit on its emptyDir volumes, or a persistentVolumeClaim in their place: kubectl get pod <scorer-pod> -n <mlops-namespace> -o yaml.
  2. kubectl describe node <node-name> shows DiskPressure=False on nodes that host scorers.
  3. kubectl get events -A --field-selector reason=Evicted shows no new evictions over a normal scoring period.