Skip to content

Commit

Permalink
Increase tekton-pipelines-remote-resolvers mem limit (#4160)
Browse files Browse the repository at this point in the history
We see spikes in production that reaches the 4Gi limit.

Signed-off-by: gbenhaim <[email protected]>
  • Loading branch information
gbenhaim authored Jul 23, 2024
1 parent b99fee7 commit 6b8fd0a
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,23 @@
path: /spec/pipeline/options/deployments/tekton-operator-proxy-webhook/spec/replicas
# default pipeline-service setting is 1
value: 2
- op: replace
path: /spec/pipeline/options/deployments/tekton-pipelines-remote-resolvers/spec/replicas
# default pipeline-service setting is 1
value: 2
- op: add
path: /spec/pipeline/options/deployments/tekton-pipelines-remote-resolvers/spec
# replicas - default pipeline-service setting is 1
# memory limit - default upstream setting is 4Gi
value:
replicas: 2
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: 100m
memory: 100Mi
- op: replace
path: /spec/platforms/openshift/pipelinesAsCode/options/deployments/pipelines-as-code-watcher/spec/replicas
# default pipeline-service setting is 1
Expand All @@ -45,4 +58,4 @@
value: 2
- op: replace
path: /spec/pipeline/options/horizontalPodAutoscalers/tekton-pipelines-webhook/spec/minReplicas
value: 6
value: 6
11 changes: 11 additions & 0 deletions components/pipeline-service/production/stone-prd-m01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,17 @@ spec:
tekton-pipelines-remote-resolvers:
spec:
replicas: 2
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-webhook:
spec:
template:
Expand Down
11 changes: 11 additions & 0 deletions components/pipeline-service/production/stone-prd-rh01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,17 @@ spec:
tekton-pipelines-remote-resolvers:
spec:
replicas: 2
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-webhook:
spec:
template:
Expand Down
11 changes: 11 additions & 0 deletions components/pipeline-service/production/stone-prod-p01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,17 @@ spec:
tekton-pipelines-remote-resolvers:
spec:
replicas: 2
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-webhook:
spec:
template:
Expand Down
11 changes: 11 additions & 0 deletions components/pipeline-service/production/stone-prod-p02/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,17 @@ spec:
tekton-pipelines-remote-resolvers:
spec:
replicas: 2
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: "1"
memory: 8Gi
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-webhook:
spec:
template:
Expand Down

0 comments on commit 6b8fd0a

Please sign in to comment.