Skip to content

Commit

Permalink
revert extraneous ES changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Oct 27, 2023
1 parent 9e33290 commit eacf5e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions deploy/manifests/browser/base/api.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ spec:
key: ips
# Global rate limiting
- name: MAX_CONCURRENT_ES_REQUESTS
value: '100'
value: '10'
- name: MAX_QUEUED_ES_REQUESTS
value: '1000'
value: '100'
# Individual rate limiting
- name: MAX_REQUESTS_PER_MINUTE
value: '3000'
value: '30'
- name: MAX_QUERY_COST
value: '2500'
value: '25'
- name: MAX_QUERY_COST_PER_MINUTE
value: '3000000'
value: '300'
ports:
- name: http
containerPort: 8000
Expand Down
3 changes: 1 addition & 2 deletions deploy/manifests/elasticsearch/elasticsearch.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spec:
tls:
selfSignedCertificate:
disabled: true
podDisruptionBudget: {}
nodeSets:
- name: master
count: 3
Expand Down Expand Up @@ -94,7 +93,7 @@ spec:
- name: install-plugins
command: ['sh', '-c', 'bin/elasticsearch-plugin install --batch repository-gcs']
- name: data-green
count: 4
count: 2
config: # https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
node.roles: ["data"]
cluster.routing.allocation.disk.watermark.low: '100gb'
Expand Down

0 comments on commit eacf5e1

Please sign in to comment.