File tree Expand file tree Collapse file tree 11 files changed +204
-9
lines changed
components/pipeline-service Expand file tree Collapse file tree 11 files changed +204
-9
lines changed Original file line number Diff line number Diff line change 1
1
- op : replace
2
2
path : /spec/replicas
3
3
# default pipeline-service setting is 1
4
- value : 2
4
+ value : 1
Original file line number Diff line number Diff line change
1
+ DB_USER =
2
+ DB_PASSWORD =
3
+ DB_HOST =
4
+ DB_PORT = 5432
5
+ DB_NAME =
6
+ DB_SSLMODE = disable
7
+ DB_SSLROOTCERT =
8
+ DB_ENABLE_AUTO_MIGRATION = true
9
+ SERVER_PORT = 8080
10
+ PROMETHEUS_PORT = 9090
11
+ PROMETHEUS_HISTOGRAM = true
12
+ TLS_PATH = /etc/tls
13
+ AUTH_DISABLE = false
14
+ AUTH_IMPERSONATE = true
15
+ LOG_LEVEL = info
16
+ LOGS_API = false
17
+ LOGS_TYPE = File
18
+ LOGS_BUFFER_SIZE = 5242880
19
+ LOGS_PATH = /logs
20
+ S3_BUCKET_NAME =
21
+ S3_ENDPOINT =
22
+ S3_HOSTNAME_IMMUTABLE = false
23
+ S3_REGION =
24
+ S3_ACCESS_KEY_ID =
25
+ S3_SECRET_ACCESS_KEY =
26
+ S3_MULTI_PART_SIZE = 5242880
27
+ GCS_BUCKET_NAME =
28
+ STORAGE_EMULATOR_HOST =
29
+ K8S_QPS = 50
30
+ K8S_BURST = 100
31
+ PROFILING = true
32
+ PROFILING_PORT = 6060
Original file line number Diff line number Diff line change @@ -18,6 +18,19 @@ images:
18
18
- name : quay.io/redhat-appstudio/tekton-results-watcher
19
19
newTag : 3ed2e97d4eacb0252b153edd2d6006637acb528e
20
20
21
+ # generate a new configmap with updated values (logs api, db ssl mode) and replace the default one
22
+ configMapGenerator :
23
+ - behavior : replace
24
+ files :
25
+ - config.env
26
+ name : api-config
27
+ options :
28
+ disableNameSuffixHash : true
29
+ - behavior : merge
30
+ name : config-observability
31
+ literals :
32
+ - profiling.enable="true"
33
+
21
34
patches :
22
35
- path : chains-tekton-config-patches.yaml
23
36
target :
@@ -56,3 +69,8 @@ patches:
56
69
target :
57
70
kind : TektonConfig
58
71
name : config
72
+ - path : update-results-watcher-performance.yaml
73
+ target :
74
+ kind : Deployment
75
+ namespace : tekton-results
76
+ name : tekton-results-watcher
Original file line number Diff line number Diff line change
1
+ ---
2
+ - op : add
3
+ path : /spec/template/spec/containers/0/args/-
4
+ value : -threadiness
5
+ - op : add
6
+ path : /spec/template/spec/containers/0/args/-
7
+ value : " 50"
8
+ - op : add
9
+ path : /spec/template/spec/containers/0/args/-
10
+ value : -qps
11
+ - op : add
12
+ path : /spec/template/spec/containers/0/args/-
13
+ value : " 50"
14
+ - op : add
15
+ path : /spec/template/spec/containers/0/args/-
16
+ value : -burst
17
+ - op : add
18
+ path : /spec/template/spec/containers/0/args/-
19
+ value : " 100"
20
+ - op : add
21
+ path : /spec/template/spec/containers/0/args/-
22
+ value : -update_log_timeout
23
+ - op : add
24
+ path : /spec/template/spec/containers/0/args/-
25
+ value : " 9m"
26
+ - op : add
27
+ path : /spec/template/spec/containers/0/args/-
28
+ value : -dynamic_reconcile_timeout
29
+ - op : add
30
+ path : /spec/template/spec/containers/0/args/-
31
+ value : " 9m"
Original file line number Diff line number Diff line change 1
1
- op : replace
2
2
path : /spec/replicas
3
3
# default pipeline-service setting is 1
4
- value : 2
4
+ value : 1
Original file line number Diff line number Diff line change
1
+ DB_USER =
2
+ DB_PASSWORD =
3
+ DB_HOST =
4
+ DB_PORT = 5432
5
+ DB_NAME =
6
+ DB_SSLMODE = disable
7
+ DB_SSLROOTCERT =
8
+ DB_ENABLE_AUTO_MIGRATION = true
9
+ SERVER_PORT = 8080
10
+ PROMETHEUS_PORT = 9090
11
+ PROMETHEUS_HISTOGRAM = true
12
+ TLS_PATH = /etc/tls
13
+ AUTH_DISABLE = false
14
+ AUTH_IMPERSONATE = true
15
+ LOG_LEVEL = info
16
+ LOGS_API = false
17
+ LOGS_TYPE = File
18
+ LOGS_BUFFER_SIZE = 5242880
19
+ LOGS_PATH = /logs
20
+ S3_BUCKET_NAME =
21
+ S3_ENDPOINT =
22
+ S3_HOSTNAME_IMMUTABLE = false
23
+ S3_REGION =
24
+ S3_ACCESS_KEY_ID =
25
+ S3_SECRET_ACCESS_KEY =
26
+ S3_MULTI_PART_SIZE = 5242880
27
+ GCS_BUCKET_NAME =
28
+ STORAGE_EMULATOR_HOST =
29
+ K8S_QPS = 50
30
+ K8S_BURST = 100
31
+ PROFILING = true
32
+ PROFILING_PORT = 6060
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ images:
20
20
- name : quay.io/redhat-appstudio/tekton-results-watcher
21
21
newTag : 3ed2e97d4eacb0252b153edd2d6006637acb528e
22
22
23
+ # generate a new configmap with updated values (logs api, db ssl mode) and replace the default one
24
+ configMapGenerator :
25
+ - behavior : replace
26
+ files :
27
+ - config.env
28
+ name : api-config
29
+ options :
30
+ disableNameSuffixHash : true
31
+ - behavior : merge
32
+ name : config-observability
33
+ literals :
34
+ - profiling.enable="true"
35
+
23
36
patches :
24
37
- path : chains-tekton-config-patches.yaml
25
38
target :
Original file line number Diff line number Diff line change 4
4
value : " 250m"
5
5
- op : replace
6
6
path : /spec/template/spec/containers/1/resources/limits/cpu
7
- value : " 250m"
7
+ value : " 250m"
8
+ - op : add
9
+ path : /spec/template/spec/containers/1/args/-
10
+ value : -threadiness
11
+ - op : add
12
+ path : /spec/template/spec/containers/1/args/-
13
+ value : " 50"
14
+ - op : add
15
+ path : /spec/template/spec/containers/1/args/-
16
+ value : -qps
17
+ - op : add
18
+ path : /spec/template/spec/containers/1/args/-
19
+ value : " 50"
20
+ - op : add
21
+ path : /spec/template/spec/containers/1/args/-
22
+ value : -burst
23
+ - op : add
24
+ path : /spec/template/spec/containers/1/args/-
25
+ value : " 100"
26
+ - op : add
27
+ path : /spec/template/spec/containers/1/args/-
28
+ value : " 9m"
29
+ - op : add
30
+ path : /spec/template/spec/containers/1/args/-
31
+ value : -dynamic_reconcile_timeout
32
+ - op : add
33
+ path : /spec/template/spec/containers/1/args/-
34
+ value : " 9m"
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ subjects:
897
897
---
898
898
apiVersion : v1
899
899
data :
900
- config.env : |
900
+ config.env : |-
901
901
DB_USER=
902
902
DB_PASSWORD=
903
903
DB_HOST=
@@ -926,6 +926,10 @@ data:
926
926
S3_MULTI_PART_SIZE=5242880
927
927
GCS_BUCKET_NAME=
928
928
STORAGE_EMULATOR_HOST=
929
+ K8S_QPS=50
930
+ K8S_BURST=100
931
+ PROFILING=true
932
+ PROFILING_PORT=6060
929
933
kind : ConfigMap
930
934
metadata :
931
935
annotations :
@@ -1054,6 +1058,7 @@ data:
1054
1058
metrics.taskrun.duration-type: "histogram"
1055
1059
metrics.pipelinerun.level: "pipeline"
1056
1060
metrics.pipelinerun.duration-type: "histogram"
1061
+ profiling.enable : " true"
1057
1062
kind : ConfigMap
1058
1063
metadata :
1059
1064
annotations :
@@ -1404,7 +1409,7 @@ metadata:
1404
1409
name : tekton-results-watcher
1405
1410
namespace : tekton-results
1406
1411
spec :
1407
- replicas : 2
1412
+ replicas : 1
1408
1413
selector :
1409
1414
matchLabels :
1410
1415
app.kubernetes.io/name : tekton-results-watcher
@@ -1470,6 +1475,15 @@ spec:
1470
1475
- -check_owner=false
1471
1476
- -completed_run_grace_period
1472
1477
- 10m
1478
+ - -threadiness
1479
+ - " 50"
1480
+ - -qps
1481
+ - " 50"
1482
+ - -burst
1483
+ - " 100"
1484
+ - 9m
1485
+ - -dynamic_reconcile_timeout
1486
+ - 9m
1473
1487
env :
1474
1488
- name : SYSTEM_NAMESPACE
1475
1489
valueFrom :
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ subjects:
897
897
---
898
898
apiVersion : v1
899
899
data :
900
- config.env : |
900
+ config.env : |-
901
901
DB_USER=
902
902
DB_PASSWORD=
903
903
DB_HOST=
@@ -926,6 +926,10 @@ data:
926
926
S3_MULTI_PART_SIZE=5242880
927
927
GCS_BUCKET_NAME=
928
928
STORAGE_EMULATOR_HOST=
929
+ K8S_QPS=50
930
+ K8S_BURST=100
931
+ PROFILING=true
932
+ PROFILING_PORT=6060
929
933
kind : ConfigMap
930
934
metadata :
931
935
annotations :
@@ -1054,6 +1058,7 @@ data:
1054
1058
metrics.taskrun.duration-type: "histogram"
1055
1059
metrics.pipelinerun.level: "pipeline"
1056
1060
metrics.pipelinerun.duration-type: "histogram"
1061
+ profiling.enable : " true"
1057
1062
kind : ConfigMap
1058
1063
metadata :
1059
1064
annotations :
@@ -1404,7 +1409,7 @@ metadata:
1404
1409
name : tekton-results-watcher
1405
1410
namespace : tekton-results
1406
1411
spec :
1407
- replicas : 2
1412
+ replicas : 1
1408
1413
selector :
1409
1414
matchLabels :
1410
1415
app.kubernetes.io/name : tekton-results-watcher
@@ -1470,6 +1475,15 @@ spec:
1470
1475
- -check_owner=false
1471
1476
- -completed_run_grace_period
1472
1477
- 10m
1478
+ - -threadiness
1479
+ - " 50"
1480
+ - -qps
1481
+ - " 50"
1482
+ - -burst
1483
+ - " 100"
1484
+ - 9m
1485
+ - -dynamic_reconcile_timeout
1486
+ - 9m
1473
1487
env :
1474
1488
- name : SYSTEM_NAMESPACE
1475
1489
valueFrom :
You can’t perform that action at this time.
0 commit comments