Skip to content

CP-48316: Let chart pods reserve ephemeral storage - #1032

Draft
evan-cz wants to merge 1 commit into
developfrom
CP-48316-ephemeral-storage-resources
Draft

evan-cz wants to merge 1 commit into
developfrom
CP-48316-ephemeral-storage-resources

Conversation

@evan-cz

@evan-cz evan-cz commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

The chart accepted any Kubernetes resource settings but rendered only CPU and memory, silently dropping ephemeral-storage requests and limits. Pods could land on nodes without enough allocatable ephemeral storage, even when the aggregator emptyDir had a sizeLimit.

  • generateResources now passes through every non-empty key under requests and limits.
  • The aggregator collector, which writes the metric files to the shared emptyDir, requests aggregator.database.emptyDir.sizeLimit as ephemeral storage when it is set, unless the collector requests ephemeral storage explicitly. No limit is derived.
  • Default renders are unchanged: sizeLimit defaults to empty, and no tests/helm/template/ baselines changed.

Testing

  • Helm unit tests for pass-through, the derived request, the explicit override, and the unset and disabled cases.
  • make helm-test-unittest helm-test-schema helm-lint: 684/684 unit tests pass; schema tests and lint pass.

🤖 Generated with Claude Code

The chart accepted any Kubernetes resource settings but rendered only
CPU and memory, silently dropping ephemeral-storage requests and
limits. Pods could therefore land on nodes without enough allocatable
ephemeral storage, even when the aggregator emptyDir had a sizeLimit.

Resource blocks now pass through every key they are given. The
aggregator collector, which writes the metric files to the shared
emptyDir, also requests aggregator.database.emptyDir.sizeLimit as
ephemeral storage when it is set, unless the collector requests
ephemeral storage explicitly. No limit is derived, and default renders
are unchanged because sizeLimit defaults to empty.

Helm unit tests cover pass-through, the derived request, the explicit
override, and the unset and disabled cases; existing template
baselines are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant