Skip to content

Commit 3d51eb0

Browse files
arielr-ltAriel Rolfo
andauthored
Remove unused OpenSearch and fix Elasticsearch to single-node in staging (#1010)
- Remove opensearch-deployment.yaml and opensearch-pvc.yaml (unused, no app references) - Set elasticsearch replicas to 1 and configure discovery.type=single-node Co-authored-by: Ariel Rolfo <arielr-lt+username@users.noreply.github.com>
1 parent c85586d commit 3d51eb0

3 files changed

Lines changed: 3 additions & 95 deletions

File tree

terraform/environments/eks/k8s-manifests-staging/elasticsearch-statefulset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
app: elasticsearch
88
spec:
99
serviceName: elasticsearch-discovery
10-
replicas: 2
10+
replicas: 1
1111
selector:
1212
matchLabels:
1313
app: elasticsearch
@@ -51,8 +51,8 @@ spec:
5151
value: "false"
5252
- name: network.host
5353
value: "0.0.0.0"
54-
- name: discovery.seed_hosts
55-
value: "elasticsearch-discovery"
54+
- name: discovery.type
55+
value: "single-node"
5656
volumeMounts:
5757
- name: elasticsearch-data
5858
mountPath: /usr/share/elasticsearch/data

terraform/environments/eks/k8s-manifests-staging/opensearch-deployment.yaml

Lines changed: 0 additions & 80 deletions
This file was deleted.

terraform/environments/eks/k8s-manifests-staging/opensearch-pvc.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)