Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch pipelines and remote resolver controllers on prod m01 to state… #5398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 33 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,45 @@ 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:
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,69 @@
---
- 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:
template:
spec:
containers:
- name: controller
resources:
limits:
memory: 8Gi
requests:
cpu: 500m
memory: 8Gi