Skip to content

Commit

Permalink
Don't erase OpenSearch limits with the app's
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Feb 21, 2024
1 parent 265007d commit 75e70c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/main/helm/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ app:
memory: 500Mi
opensearch:
envs:
OPENSEARCH_JAVA_OPTS: ' -Xms800m -Xmx800m '
OPENSEARCH_JAVA_OPTS: ' -Xms700m -Xmx700m '
resources:
limits:
cpu: 1000m
memory: 1.7Gi
memory: 1.5Gi
requests:
cpu: 500m
memory: 1.5Gi
memory: 1.0Gi
8 changes: 4 additions & 4 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ quarkus.openshift.resources.limits.cpu=2000m
quarkus.openshift.resources.requests.cpu=400m
quarkus.openshift.resources.limits.memory=2Gi
quarkus.openshift.resources.requests.memory=1Gi
quarkus.helm.values."resources.limits.cpu".paths=spec.template.spec.containers.resources.limits.cpu
quarkus.helm.values."resources.requests.cpu".paths=spec.template.spec.containers.resources.requests.cpu
quarkus.helm.values."resources.limits.memory".paths=spec.template.spec.containers.resources.limits.memory
quarkus.helm.values."resources.requests.memory".paths=spec.template.spec.containers.resources.requests.memory
quarkus.helm.values."resources.limits.cpu".paths=(kind == Deployment).spec.template.spec.containers.resources.limits.cpu
quarkus.helm.values."resources.requests.cpu".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.cpu
quarkus.helm.values."resources.limits.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.limits.memory
quarkus.helm.values."resources.requests.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.memory
# Indexing settings (overridden for staging, see src/main/helm)
quarkus.openshift.env.vars.INDEXING_QUEUE_COUNT=${INDEXING_QUEUE_COUNT}
quarkus.openshift.env.vars.INDEXING_BULK_SIZE=${INDEXING_BULK_SIZE}
Expand Down

0 comments on commit 75e70c2

Please sign in to comment.