Skip to content

Commit

Permalink
expose autoscaler for both webhooks
Browse files Browse the repository at this point in the history
add req/limit for operator proxy webhook
double req/limit for core webhook
equate results api/watcher requests/limits cpu/mem
results watcher controller perf settings

rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
gabemontero committed Mar 6, 2024
1 parent b070652 commit d8bd79b
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,68 @@ spec:
deployments:
tekton-operator-proxy-webhook:
spec:
replicas: 1
template:
spec:
containers:
- name: proxy
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
tekton-pipelines-webhook:
spec:
template:
spec:
containers:
- name: webhook
resources:
requests:
cpu: 200m
memory: 200Mi
limits:
cpu: '1'
memory: 1Gi
tekton-pipelines-remote-resolvers:
spec:
replicas: 1
horizontalPodAutoscalers:
tekton-pipelines-webhook:
spec:
maxReplicas: 6
minReplicas: 2
metrics:
- resource:
name: cpu
target:
averageUtilization: 100
type: Utilization
type: Resource
- resource:
name: memory
target:
averageUtilization: 100
type: Utilization
type: Resource
tekton-operator-proxy-webhook:
spec:
maxReplicas: 6
minReplicas: 2
metrics:
- resource:
name: cpu
target:
averageUtilization: 100
type: Utilization
type: Resource
- resource:
name: memory
target:
averageUtilization: 100
type: Utilization
type: Resource
performance:
disable-ha: false
buckets: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ spec:
name: tekton-results-s3
resources:
requests:
cpu: 5m
memory: 128Mi
cpu: 100m
memory: 512Mi
limits:
cpu: 100m
memory: 512Mi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ spec:
"-check_owner=false",
"-completed_run_grace_period",
"10m",
"-threadiness",
"32",
]
resources:
requests:
cpu: 100m
memory: 64Mi
cpu: 250m
memory: 2Gi
limits:
cpu: 250m
memory: 2Gi
Expand Down

0 comments on commit d8bd79b

Please sign in to comment.