Skip to content

Changes for deploying ShimProxy on Kubernetes (miniKube)#2640

Open
shuklas wants to merge 3 commits intoopensearch-project:mainfrom
shuklas:main
Open

Changes for deploying ShimProxy on Kubernetes (miniKube)#2640
shuklas wants to merge 3 commits intoopensearch-project:mainfrom
shuklas:main

Conversation

@shuklas
Copy link
Copy Markdown
Contributor

@shuklas shuklas commented Apr 7, 2026

Description

Add Kubernetes/Helm chart infrastructure for deploying ShimProxy alongside Solr and OpenSearch clusters on minikube.

  • New testSolrOSClusters aggregate Helm chart that bundles ShimProxy, OpenSearch (v2.32.0), and Solr (v9.7 with ZooKeeper sidecar) as sub-charts
  • New shimProxy component Helm chart with configurable targets, transforms (via ConfigMap), auth, validators, health probes, and OTel support
  • New solr component Helm chart running Solr in SolrCloud mode with an embedded ZooKeeper container
  • Kubernetes Job (dataloader) to generate and load test data into both Solr and OpenSearch
  • NodePort services for external access to all three services
  • localTestingSolr.sh script for end-to-end local deployment: starts minikube, builds/pushes images to a local registry, deploys the chart, and sets up port-forwards (OpenSearch:9200, Solr:8983, ShimProxy:8080)
  • Added --memory flag to minikubeLocal.sh and refactored its argument parsing
  • Updated load_data.py to disable TLS verification for self-signed OpenSearch certs

Issues Resolved

N/A

Testing

  • Deployed and validated end-to-end on minikube using localTestingSolr.sh
  • Verified ShimProxy routes requests to both Solr and OpenSearch backends
  • Confirmed dataloader Job successfully seeds test data into both clusters
  • Validated NodePort access and port-forwarding for all three services

Check List

  • New functionality includes testing
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 7, 2026 12:55 — with GitHub Actions Error
@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 7, 2026 12:55 — with GitHub Actions Error
@shuklas shuklas changed the title Changes for deploying ShimProxy on Kubernetes. Tested through miniKube Changes for deploying ShimProxy on Kubernetes (miniKube) Apr 7, 2026
Signed-off-by: SACHIN SHUKLA <sachishu@amazon.com>
@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 7, 2026 13:13 — with GitHub Actions Error
@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 7, 2026 13:13 — with GitHub Actions Error
@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 10, 2026 08:27 — with GitHub Actions Error
@shuklas shuklas had a problem deploying to migrations-cicd-require-approval April 10, 2026 08:27 — with GitHub Actions Error
@shuklas shuklas requested a deployment to migrations-cicd-require-approval April 10, 2026 08:29 — with GitHub Actions Waiting
@shuklas shuklas requested a deployment to migrations-cicd-require-approval April 10, 2026 08:29 — with GitHub Actions Waiting
@jugal-chauhan
Copy link
Copy Markdown
Collaborator

@shuklas Can we please fix the DCO here ?

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.83%. Comparing base (ce71881) to head (cb02995).
⚠️ Report is 309 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2640      +/-   ##
============================================
- Coverage     72.46%   71.83%   -0.64%     
+ Complexity       90       86       -4     
============================================
  Files           705      700       -5     
  Lines         32686    32033     -653     
  Branches       2815     2812       -3     
============================================
- Hits          23687    23010     -677     
- Misses         7723     7736      +13     
- Partials       1276     1287      +11     
Flag Coverage Δ
gradle 68.32% <ø> (-0.32%) ⬇️
node 92.62% <ø> (ø)
python 75.36% <ø> (-1.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants