Skip to content

Commit

Permalink
chore(elasticsearch): remove 6.8.22 cluster on production (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka authored Nov 17, 2023
1 parent 40697fc commit dcc63c1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion k8s/helmfile/env/production/api.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ app:
jwtSecretSecretName: api-app-secrets
jwtSecretSecretKey: api-app-jwt-secret
queryServiceHost: queryservice.default.svc.cluster.local:9999
elasticSearchHost: elasticsearch-master.default.svc.cluster.local:9200,elasticsearch-1.default.svc.cluster.local:9200
elasticSearchHost: elasticsearch-1.default.svc.cluster.local:9200
redis:
prefix: wikibase_production_api
# TODO is it possible to take advantage of replicas here?
Expand Down
4 changes: 0 additions & 4 deletions k8s/helmfile/env/production/mediawiki-139.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ mw:
password:
passwordSecretName: redis-password
passwordSecretKey: password
writeOnlyElasticsearch:
host: elasticsearch-master.default.svc.cluster.local
port: 9200
es6: true
elasticsearch:
host: elasticsearch-1.default.svc.cluster.local
port: 9200
Expand Down
1 change: 0 additions & 1 deletion k8s/helmfile/env/staging/mediawiki-139.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mw:
host: elasticsearch-1.default.svc.cluster.local
port: 9200
es6: false
writeOnlyElasticsearch: false

resources:
web:
Expand Down
2 changes: 1 addition & 1 deletion k8s/helmfile/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ releases:
namespace: default
chart: wbstack/elasticsearch-legacy
version: 6.8.22-wmde2
installed: {{ eq .Environment.Name "production" | toYaml }}
installed: false
<<: *default_release

- name: elasticsearch-1
Expand Down

0 comments on commit dcc63c1

Please sign in to comment.