Skip to content

Commit fdf4413

Browse files
Merge pull request ecamp#5366 from BacLuc/ecamp3-logging-increase-memory-for-prod
ecamp3-logging: increase memory for prod
2 parents a72e7da + 6a75094 commit fdf4413

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.ops/ecamp3-logging/deploy.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,18 @@ set -e
44

55
SCRIPT_DIR=$(realpath "$(dirname "$0")")
66
cd $SCRIPT_DIR
7+
8+
if [ $# -ne 1 ]; then
9+
echo "Usage: $0 <prod|dev>"
10+
echo "(or other environments)"
11+
exit 1
12+
fi
13+
714
# to debug: --dry-run --debug
8-
helm dep build && helm upgrade --install ecamp3-logging --namespace=ecamp3-logging --create-namespace $SCRIPT_DIR
15+
helm dep build
16+
helm upgrade --install ecamp3-logging \
17+
--namespace=ecamp3-logging \
18+
--create-namespace \
19+
$SCRIPT_DIR \
20+
--values $SCRIPT_DIR/values.yaml \
21+
--values $SCRIPT_DIR/values-$1.yaml

.ops/ecamp3-logging/values-dev.yaml

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
elasticsearch:
2+
elasticNode:
3+
resources:
4+
requests:
5+
memory: 1500Mi
6+
limits:
7+
memory: 1500Mi

0 commit comments

Comments
 (0)