Skip to content

[CELEBORN-2562] Add an s3 section to the Helm chart for the S3 storage tier - #3980

Open
strelok89 wants to merge 1 commit into
apache:mainfrom
strelok89:CELEBORN-2562
Open

strelok89 wants to merge 1 commit into
apache:mainfrom
strelok89:CELEBORN-2562

Conversation

@strelok89

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add an s3 section to the Helm chart (enabled, dir, region). When enabled, templates/configmap.yaml:

  • writes celeborn.storage.s3.dir and celeborn.storage.s3.endpoint.region;
  • adds S3 to celeborn.storage.availableTypes, appending to the types set in the celeborn map under that key or its deprecated alternative celeborn.storage.activeTypes (default HDD), without duplicating the type or the key;
  • fails at render time when s3.dir or s3.region is missing, or when s3.dir does not match Celeborn's S3 path check (Utils.S3_REGEX).

Credentials stay with the existing serviceAccount settings: EKS Pod Identity binds a role to serviceAccount.name; IRSA uses serviceAccount.annotations. The chart README gets an "S3 storage tier" section with an example and the IAM and client requirements.

Why are the changes needed?

Today the S3 tier has to be configured through the free-form celeborn map. A missing region fails at startup, and a bucket name with dots fails Celeborn's path check, which logs an error and starts Celeborn with S3 disabled.

Does this PR resolve a correctness bug?

  • Yes

Does this PR introduce any user-facing change?

  • Yes. New optional s3 values. With the default (s3.enabled: false) the rendered manifests are unchanged.

How was this patch tested?

  • helm unittest charts/celeborn --file "tests/**/*_test.yaml" --strict: 165 of 165 pass, including 10 new configmap tests (default off, s3: null, enabled with default types, appending to configured types, the deprecated activeTypes key, no duplicate S3 in either case, and the three render failures).
  • helm template with default values is byte-identical to main.
  • helm lint charts/celeborn passes.

Related: CELEBORN-2561 (S3 in the default image).

🤖 Generated with Claude Code

…e tier

Add s3.enabled, s3.dir and s3.region. When enabled, the configmap writes
celeborn.storage.s3.dir and celeborn.storage.s3.endpoint.region and adds S3
to celeborn.storage.availableTypes, keeping any types set in the celeborn
map. Rendering fails on a missing dir or region, or a dir Celeborn's path
check would reject. Credentials stay with the serviceAccount settings.
Default rendering is 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant