Skip to content
Snippets Groups Projects
Commit 9285ee6f authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

Merge branch '910-flux-source-controller-get-oom-killed-frequently' into 'master'

Increase source-controller and helm-controller mem limits

Closes #910

See merge request openappstack/openappstack!589
parents 1201438e d939a7c7
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ spec: ...@@ -8,7 +8,7 @@ spec:
resources: resources:
limits: limits:
cpu: "1" cpu: "1"
memory: 1536Mi memory: 2048Mi
requests: requests:
cpu: 100m cpu: 100m
memory: 256Mi memory: 512Mi
spec:
template:
spec:
containers:
- name: manager
resources:
limits:
cpu: "1"
memory: 1536Mi
requests:
cpu: 100m
memory: 512Mi
...@@ -16,6 +16,11 @@ kubectl patch deployment \ ...@@ -16,6 +16,11 @@ kubectl patch deployment \
helm-controller \ helm-controller \
--patch-file "$(dirname "$0")/flux-patches/helm-controller.yaml" --patch-file "$(dirname "$0")/flux-patches/helm-controller.yaml"
kubectl patch deployment \
-n flux-system \
source-controller \
--patch-file "$(dirname "$0")/flux-patches/source-controller.yaml"
# get current git branch name # get current git branch name
branch=${CI_COMMIT_REF_NAME:-} branch=${CI_COMMIT_REF_NAME:-}
[ -z "$branch" ] && branch=$(git rev-parse --abbrev-ref HEAD) [ -z "$branch" ] && branch=$(git rev-parse --abbrev-ref HEAD)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment