Skip to content

Commit 11ff90e

Browse files
authored
feature(backend): Add QPS and Burst settings (kubeflow#1055)
Add QPS and Burst settings for the RestClient in api-server and tekton-pipelines-controllers. Set both values to 50 for a medium workload. Signed-off-by: Yihong Wang <[email protected]> Signed-off-by: Yihong Wang <[email protected]>
1 parent 1f3093c commit 11ff90e

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

install/v1.3.1/kfp-tekton.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,10 @@ spec:
25182518
name: pipeline-install-config
25192519
- name: OBJECTSTORECONFIG_SECURE
25202520
value: "false"
2521+
- name: CLIENTQPS
2522+
value: "50"
2523+
- name: CLIENTBURST
2524+
value: "50"
25212525
- name: OBJECTSTORECONFIG_BUCKETNAME
25222526
valueFrom:
25232527
configMapKeyRef:

manifests/kustomize/base/pipeline/apiserver-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ spec:
2424
key: objectStorePort
2525
- name: OBJECTSTORECONFIG_SECURE
2626
value: "false"
27+
- name: CLIENTQPS
28+
value: "50"
29+
- name: CLIENTBURST
30+
value: "50"
2731
- name: OBJECTSTORECONFIG_BUCKETNAME
2832
valueFrom:
2933
configMapKeyRef:

manifests/kustomize/third-party/tekton/upstream/manifests/base/tektoncd-install/kustomization.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ resources:
55
patchesStrategicMerge:
66
- tekton-config.yaml
77
- tekton-default.yaml
8+
patchesJson6902:
9+
- target:
10+
group: apps
11+
version: v1
12+
kind: Deployment
13+
name: tekton-pipelines-controller
14+
namespace: tekton-pipelines
15+
path: tekton-controller.yaml
816
images:
917
- name: $(registry)/$(controller)
1018
newName: $(registry)/$(controller)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
- op: add
2+
path: /spec/template/spec/containers/0/args/0
3+
value: "4"
4+
- op: add
5+
path: /spec/template/spec/containers/0/args/0
6+
value: "-threads-per-controller"
7+
- op: add
8+
path: /spec/template/spec/containers/0/args/0
9+
value: "50"
10+
- op: add
11+
path: /spec/template/spec/containers/0/args/0
12+
value: "-kube-api-burst"
13+
- op: add
14+
path: /spec/template/spec/containers/0/args/0
15+
value: "50"
16+
- op: add
17+
path: /spec/template/spec/containers/0/args/0
18+
value: "-kube-api-qps"

0 commit comments

Comments
 (0)