Skip to content

Remove unused OpenSearch and fix Elasticsearch to single-node in staging#1010

Merged
arielr-lt merged 1 commit intomasterfrom
cleanup/staging-search-workloads
Mar 19, 2026
Merged

Remove unused OpenSearch and fix Elasticsearch to single-node in staging#1010
arielr-lt merged 1 commit intomasterfrom
cleanup/staging-search-workloads

Conversation

@arielr-lt
Copy link
Collaborator

@arielr-lt arielr-lt commented Mar 19, 2026

Summary

  • Remove opensearch-deployment.yaml and opensearch-pvc.yaml — OpenSearch was deployed in credreg-staging but never referenced by the app (no OPENSEARCH_ADDRESS env var, app configmap points to http://elasticsearch:9200)
  • Fix elasticsearch-statefulset.yaml: reduce replicas from 2 to 1 and set discovery.type=single-node — only one pod was ever running (elasticsearch-0), single-node mode prevents ES from waiting for cluster formation

- Remove opensearch-deployment.yaml and opensearch-pvc.yaml (unused, no app references)
- Set elasticsearch replicas to 1 and configure discovery.type=single-node
@edgarf edgarf self-requested a review March 19, 2026 22:05
@arielr-lt arielr-lt merged commit 3d51eb0 into master Mar 19, 2026
11 of 12 checks passed
@arielr-lt arielr-lt deleted the cleanup/staging-search-workloads branch March 19, 2026 22:07
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