Skip to content

Commit

Permalink
switch pipelines and remote resolver controllers on prod m01 to state…
Browse files Browse the repository at this point in the history
…fulSets
  • Loading branch information
jkhelil committed Jan 30, 2025
1 parent 5e8a5d1 commit 9b905d4
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 34 deletions.
68 changes: 34 additions & 34 deletions components/pipeline-service/production/stone-prd-m01/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2090,40 +2090,6 @@ spec:
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-controller:
spec:
template:
spec:
containers:
- name: tekton-pipelines-controller
resources:
limits:
memory: 12Gi
requests:
cpu: "1"
memory: 12Gi
topologySpreadConstraints:
- labelSelector:
matchLabels:
app: tekton-pipelines-controller
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
tekton-pipelines-remote-resolvers:
spec:
replicas: 4
template:
spec:
containers:
- args:
- --threads-per-controller=32
name: controller
resources:
limits:
memory: 8Gi
requests:
cpu: 500m
memory: 8Gi
tekton-pipelines-webhook:
spec:
template:
Expand Down Expand Up @@ -2173,12 +2139,46 @@ spec:
type: Utilization
type: Resource
minReplicas: 6
statefulSets:
tekton-pipelines-controller:
spec:
template:
spec:
containers:
- name: tekton-pipelines-controller
resources:
limits:
memory: 12Gi
requests:
cpu: "1"
memory: 12Gi
topologySpreadConstraints:
- labelSelector:
matchLabels:
app: tekton-pipelines-controller
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
tekton-pipelines-remote-resolvers:
spec:
replicas: 4
template:
spec:
containers:
- name: controller
resources:
limits:
memory: 8Gi
requests:
cpu: 500m
memory: 8Gi
performance:
buckets: 8
disable-ha: false
kube-api-burst: 50
kube-api-qps: 50
replicas: 4
statefulset-ordinals: true
threads-per-controller: 32
platforms:
openshift:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ patches:
group: operator.tekton.dev
version: v1alpha1
kind: TektonConfig
- path: osp-perf-statefulSets.yaml
target:
name: config
group: operator.tekton.dev
version: v1alpha1
kind: TektonConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
- op: replace
path: /spec/pipeline/performance/statefulset-ordinals
value: true
- op: replace
path: /spec/pipeline/options/deployments
value:
tekton-operator-proxy-webhook:
spec:
replicas: 2
template:
spec:
containers:
- name: proxy
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
tekton-pipelines-webhook:
spec:
template:
spec:
containers:
- name: webhook
resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 400m
memory: 1Gi
- op: replace
path: /spec/pipeline/options/statefulSets
value:
tekton-pipelines-controller:
spec:
template:
spec:
containers:
- name: tekton-pipelines-controller
resources:
limits:
memory: 12Gi
requests:
cpu: "1"
memory: 12Gi
topologySpreadConstraints:
- labelSelector:
matchLabels:
app: tekton-pipelines-controller
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
tekton-pipelines-remote-resolvers:
spec:
replicas: 4
template:
spec:
containers:
- name: controller
resources:
limits:
memory: 8Gi
requests:
cpu: 500m
memory: 8Gi

0 comments on commit 9b905d4

Please sign in to comment.