feat(helm): Add S3 storage support for archives, streams, and logs input. #1825
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warning
This PR has a strong dependency on both #1817 and #1818, and therefore it should be merged AFTER those.
Description
Note
This PR is part of the ongoing work for #1309. More PRs will be submitted until the Helm chart is complete and fully functional.
This PR adds S3/AWS storage support to the CLP Helm chart, enabling archives and stream outputs to be stored in S3 instead of local filesystem storage. The changes include:
New Configuration Options:
aws_config_directorytovalues.yamlfor specifying the path to AWS config files (e.g.,~/.aws)type: "s3"inarchive_output.storageandstream_output.storagetype: "s3"inlogs_inputconfigurationNew Resources:
compression-worker-staged-archives-pv.yamlandcompression-worker-staged-archives-pvc.yamlfor staging archives before S3 uploadquery-worker-staged-streams-pv.yamlandquery-worker-staged-streams-pvc.yamlfor staging streams before S3 uploadHelper Templates:
clp.awsConfigVolumeMountandclp.awsConfigVolumehelpers for mounting AWS configurationDeployment Changes:
logsInputVolumemounts conditional onlogs_input.type == "fs"shared-data-archivesmounts conditional onarchive_output.storage.type == "fs"shared-data-streamsmounts conditional onstream_output.storage.type == "fs"aws_config_directoryvolume mounts (conditional) to compression-scheduler, compression-worker, query-worker, garbage-collector, and webui deploymentsarchive_output.storage.type == "s3")stream_output.storage.type == "s3")ConfigMap Updates:
archive_output.storage,stream_output.storage, andlogs_inputaws_config_directoryfield to clp-configwebui-client-settings.jsonandwebui-server-settings.jsonto support S3 stream filesChecklist
breaking change.
Validation performed