feat(terraform): bring-your-own Data Prepper pipeline + gp3 StorageClass - #16
Draft
kylehounslow wants to merge 5 commits into
Draft
feat(terraform): bring-your-own Data Prepper pipeline + gp3 StorageClass#16kylehounslow wants to merge 5 commits into
kylehounslow wants to merge 5 commits into
Conversation
Add extra_helm_values and data_prepper_pipeline_secret_file variables so an operator can supply a custom Data Prepper pipeline through the chart's dataPrepperManageSecret=false gate: terraform renders the file into the data-prepper-pipeline Secret and orders it before the release. Create a gp3 StorageClass (EKS ships only gp2) since the OpenSearch/Cortex storage_class variables default to gp3. Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
verbosity detailed serializes every span, log, and metric to stdout, which throttles the collector pipeline under sustained load (observed ~6x slower trace ingest at bench scale, with OpenSearch write pools idle). basic logs per-batch counts, which is enough for the debug exporter's purpose. Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
Clarified comments regarding StorageClass creation for EKS and PVC binding. Signed-off-by: Kyle Hounslow <7102778+kylehounslow@users.noreply.github.com>
…from chart - create_gp3_storage_class (default true) lets operators opt out on clusters that already provide gp3 (EKS Auto Mode, manual, shared), avoiding the 'already exists' apply failure. - BYO pipeline Secret reads opensearchUsername/opensearchPassword defaults from the chart's values.yaml instead of re-hardcoding the literals, so the Secret and the cluster can't drift apart if the chart default changes. - Add var.opensearch_username, wired into the release like opensearch_password. Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
kylehounslow
force-pushed
the
feat/byo-data-prepper-pipeline
branch
from
June 26, 2026 18:21
34f3a9a to
475c894
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Two additive, default-no-op terraform changes that let an operator run the stack as a custom-routing backend without editing chart defaults. Builds on the
dataPrepperManageSecretgate merged in opensearch-project#308 (upstream).data_prepper_pipeline_secret_file(default""): path to apipelines.yamltemplate. When set, terraform renders it (viatemplatefile, withopensearch_user/opensearch_password/trace_flush_interval) into thedata-prepper-pipelineSecret, setsdataPrepperManageSecret=falseso the chart renders no pipeline Secret of its own, and orders the Secret before thewait=truerelease so Data Prepper mounts it at boot.extra_helm_values(default[]): additional values file paths layered onto the release last.gp3StorageClass: EKS ships onlygp2, butopensearch_storage_class/cortex_storage_classdefault togp3. Without this, gp3 PVCs hangPendingand the release times out. Created via the EBS CSI driver,WaitForFirstConsumerto match gp2.Why
The chart stays generic; a consumer supplies routing from outside. This completes the gate's usability (the gate shipped in opensearch-project#308 but nothing wired the external secret through terraform).
Status
Draft against the fork while validating end-to-end on a fresh account. Not for upstream until the full path is confirmed.
Test
terraform validatepasses;terraform fmtclean.data-prepper-pipelineSecret carries the consumer routing with no helmmanaged-bylabel (terraform-created, chart rendered nothing), Data Prepper mounted it and started, gp3 PVCs bound.