Skip to content

Commit

Permalink
Fix setting default opensearch disk thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Oct 11, 2023
1 parent cfc37dd commit 8c87ad1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,7 @@ TODO
| mysql.initdbScriptsConfigMap | string | `"mysql-init-diracx-dbs"` | |
| nameOverride | string | `""` | type=kubernetes.io/dockerconfigjson imagePullSecrets: - name: regcred |
| nodeSelector | object | `{}` | |
| opensearch.config."cluster.routing.allocation.disk.threshold_enabled" | string | `"true"` | |
| opensearch.config."cluster.routing.allocation.disk.watermark.flood_stage" | string | `"200mb"` | |
| opensearch.config."cluster.routing.allocation.disk.watermark.high" | string | `"300mb"` | |
| opensearch.config."cluster.routing.allocation.disk.watermark.low" | string | `"500mb"` | |
| opensearch.config."plugins.security.disabled" | string | `"true"` | |
| opensearch.config."opensearch-disk-thresholds.yml" | string | `"cluster:\n routing:\n allocation:\n disk:\n threshold_enabled: \"true\"\n watermark:\n flood_stage: 200mb\n low: 500mb\n high: 300mb\n"` | |
| opensearch.enabled | bool | `true` | |
| opensearch.opensearchJavaOpts | string | `"-Xms256m -Xmx256m"` | |
| opensearch.resources.requests.cpu | string | `"100m"` | |
Expand Down
15 changes: 10 additions & 5 deletions diracx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,16 @@ opensearch:
# replicas: 1
singleNode: true
config:
cluster.routing.allocation.disk.threshold_enabled: "true"
cluster.routing.allocation.disk.watermark.flood_stage: 200mb
cluster.routing.allocation.disk.watermark.low: 500mb
cluster.routing.allocation.disk.watermark.high: 300mb
plugins.security.disabled: "true"
opensearch-disk-thresholds.yml: |
cluster:
routing:
allocation:
disk:
threshold_enabled: "true"
watermark:
flood_stage: 200mb
low: 500mb
high: 300mb
resources:
requests:
cpu: "100m"
Expand Down

0 comments on commit 8c87ad1

Please sign in to comment.