File tree Expand file tree Collapse file tree 11 files changed +210
-9
lines changed
components/pipeline-service Expand file tree Collapse file tree 11 files changed +210
-9
lines changed Original file line number Diff line number Diff line change 11- op : replace
22 path : /spec/replicas
33 # 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:
1818 - name : quay.io/redhat-appstudio/tekton-results-watcher
1919 newTag : 3ed2e97d4eacb0252b153edd2d6006637acb528e
2020
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+
2134patches :
2235 - path : chains-tekton-config-patches.yaml
2336 target :
@@ -56,3 +69,8 @@ patches:
5669 target :
5770 kind : TektonConfig
5871 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 11- op : replace
22 path : /spec/replicas
33 # 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:
2020 - name : quay.io/redhat-appstudio/tekton-results-watcher
2121 newTag : 3ed2e97d4eacb0252b153edd2d6006637acb528e
2222
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+
2336patches :
2437 - path : chains-tekton-config-patches.yaml
2538 target :
Original file line number Diff line number Diff line change 44 value : " 250m"
55- op : replace
66 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 : -update_log_timeout
29+ - op : add
30+ path : /spec/template/spec/containers/1/args/-
31+ value : " 9m"
32+ - op : add
33+ path : /spec/template/spec/containers/1/args/-
34+ value : -dynamic_reconcile_timeout
35+ - op : add
36+ path : /spec/template/spec/containers/1/args/-
37+ value : " 9m"
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ subjects:
897897---
898898apiVersion : v1
899899data :
900- config.env : |
900+ config.env : |-
901901 DB_USER=
902902 DB_PASSWORD=
903903 DB_HOST=
@@ -926,6 +926,10 @@ data:
926926 S3_MULTI_PART_SIZE=5242880
927927 GCS_BUCKET_NAME=
928928 STORAGE_EMULATOR_HOST=
929+ K8S_QPS=50
930+ K8S_BURST=100
931+ PROFILING=true
932+ PROFILING_PORT=6060
929933kind : ConfigMap
930934metadata :
931935 annotations :
@@ -1054,6 +1058,7 @@ data:
10541058 metrics.taskrun.duration-type: "histogram"
10551059 metrics.pipelinerun.level: "pipeline"
10561060 metrics.pipelinerun.duration-type: "histogram"
1061+ profiling.enable : " true"
10571062kind : ConfigMap
10581063metadata :
10591064 annotations :
@@ -1404,7 +1409,7 @@ metadata:
14041409 name : tekton-results-watcher
14051410 namespace : tekton-results
14061411spec :
1407- replicas : 2
1412+ replicas : 1
14081413 selector :
14091414 matchLabels :
14101415 app.kubernetes.io/name : tekton-results-watcher
@@ -1470,6 +1475,16 @@ spec:
14701475 - -check_owner=false
14711476 - -completed_run_grace_period
14721477 - 10m
1478+ - -threadiness
1479+ - " 50"
1480+ - -qps
1481+ - " 50"
1482+ - -burst
1483+ - " 100"
1484+ - -update_log_timeout
1485+ - 9m
1486+ - -dynamic_reconcile_timeout
1487+ - 9m
14731488 env :
14741489 - name : SYSTEM_NAMESPACE
14751490 valueFrom :
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ subjects:
897897---
898898apiVersion : v1
899899data :
900- config.env : |
900+ config.env : |-
901901 DB_USER=
902902 DB_PASSWORD=
903903 DB_HOST=
@@ -926,6 +926,10 @@ data:
926926 S3_MULTI_PART_SIZE=5242880
927927 GCS_BUCKET_NAME=
928928 STORAGE_EMULATOR_HOST=
929+ K8S_QPS=50
930+ K8S_BURST=100
931+ PROFILING=true
932+ PROFILING_PORT=6060
929933kind : ConfigMap
930934metadata :
931935 annotations :
@@ -1054,6 +1058,7 @@ data:
10541058 metrics.taskrun.duration-type: "histogram"
10551059 metrics.pipelinerun.level: "pipeline"
10561060 metrics.pipelinerun.duration-type: "histogram"
1061+ profiling.enable : " true"
10571062kind : ConfigMap
10581063metadata :
10591064 annotations :
@@ -1404,7 +1409,7 @@ metadata:
14041409 name : tekton-results-watcher
14051410 namespace : tekton-results
14061411spec :
1407- replicas : 2
1412+ replicas : 1
14081413 selector :
14091414 matchLabels :
14101415 app.kubernetes.io/name : tekton-results-watcher
@@ -1470,6 +1475,16 @@ spec:
14701475 - -check_owner=false
14711476 - -completed_run_grace_period
14721477 - 10m
1478+ - -threadiness
1479+ - " 50"
1480+ - -qps
1481+ - " 50"
1482+ - -burst
1483+ - " 100"
1484+ - -update_log_timeout
1485+ - 9m
1486+ - -dynamic_reconcile_timeout
1487+ - 9m
14731488 env :
14741489 - name : SYSTEM_NAMESPACE
14751490 valueFrom :
You can’t perform that action at this time.
0 commit comments