Skip to content

Commit

Permalink
Merge pull request #5366 from BacLuc/ecamp3-logging-increase-memory-f…
Browse files Browse the repository at this point in the history
…or-prod

ecamp3-logging: increase memory for prod
  • Loading branch information
carlobeltrame committed Jun 16, 2024
2 parents a72e7da + 6a75094 commit fdf4413
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .ops/ecamp3-logging/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,18 @@ set -e

SCRIPT_DIR=$(realpath "$(dirname "$0")")
cd $SCRIPT_DIR

if [ $# -ne 1 ]; then
echo "Usage: $0 <prod|dev>"
echo "(or other environments)"
exit 1
fi

# to debug: --dry-run --debug
helm dep build && helm upgrade --install ecamp3-logging --namespace=ecamp3-logging --create-namespace $SCRIPT_DIR
helm dep build
helm upgrade --install ecamp3-logging \
--namespace=ecamp3-logging \
--create-namespace \
$SCRIPT_DIR \
--values $SCRIPT_DIR/values.yaml \
--values $SCRIPT_DIR/values-$1.yaml
Empty file.
7 changes: 7 additions & 0 deletions .ops/ecamp3-logging/values-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
elasticsearch:
elasticNode:
resources:
requests:
memory: 1500Mi
limits:
memory: 1500Mi

0 comments on commit fdf4413

Please sign in to comment.