Skip to content
Snippets Groups Projects
Unverified Commit 2492b098 authored by Varac's avatar Varac
Browse files

Remove CPU limits from flux components

Closes: #1152
parent 32f2505b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ spec:
- "--concurrent=3"
resources:
limits:
cpu: "1"
cpu: null
memory: 2048Mi
requests:
cpu: 100m
......
spec:
template:
spec:
containers:
- name: manager
resources:
limits:
cpu: null
memory: 1024Mi
requests:
cpu: 100m
memory: 64Mi
......@@ -5,7 +5,7 @@ spec:
- name: manager
resources:
limits:
cpu: "1"
cpu: null
memory: 1536Mi
requests:
cpu: 100m
......
......@@ -27,6 +27,11 @@ kubectl patch deployment \
source-controller \
--patch-file "$(dirname "$0")/flux-patches/source-controller.yaml"
kubectl patch deployment \
-n flux-system \
kustomize-controller \
--patch-file "$(dirname "$0")/flux-patches/kustomize-controller.yaml"
# get current git branch name
branch=${CI_COMMIT_REF_NAME:-}
[ -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