github-actions-cache-server icon indicating copy to clipboard operation
github-actions-cache-server copied to clipboard

HPA Autoscaling Fails with RWO Persistent Volume in New Helm Chart

Open mitrevb opened this issue 5 months ago • 1 comments

When using the new Helm chart with a ReadWriteOnce (RWO) Persistent Volume and enabling Horizontal Pod Autoscaling (HPA), autoscaling fails due to volume attachment issues.

Issue Details: • The first pod starts successfully and attaches the RWO volume. • As HPA scales up, new pods attempt to attach the same RWO volume. • Since RWO volumes can only be mounted by a single pod at a time, all additional pods get stuck in the ContainerCreating state.

Expected Behavior: HPA should work correctly, or the chart should handle the RWO volume restriction gracefully.

mitrevb avatar Jul 30 '25 11:07 mitrevb