-
Notifications
You must be signed in to change notification settings - Fork 316
KFLUXBUGS-863: introduce results fixes with requisite performance related tuning (dev/stage) #3884
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
Changes from all commits
a7a4cae
4dc326f
f63cb66
3117971
afa6a78
b06ee22
134f999
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| - op: replace | ||
| path: /spec/replicas | ||
| # default pipeline-service setting is 1 | ||
| value: 2 | ||
| value: 1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| DB_USER= | ||
| DB_PASSWORD= | ||
| DB_HOST= | ||
| DB_PORT=5432 | ||
| DB_NAME= | ||
| DB_SSLMODE=disable | ||
| DB_SSLROOTCERT= | ||
| DB_ENABLE_AUTO_MIGRATION=true | ||
| SERVER_PORT=8080 | ||
| PROMETHEUS_PORT=9090 | ||
| PROMETHEUS_HISTOGRAM=true | ||
| TLS_PATH=/etc/tls | ||
| AUTH_DISABLE=false | ||
| AUTH_IMPERSONATE=true | ||
| LOG_LEVEL=info | ||
| LOGS_API=false | ||
| LOGS_TYPE=File | ||
| LOGS_BUFFER_SIZE=5242880 | ||
| LOGS_PATH=/logs | ||
| S3_BUCKET_NAME= | ||
| S3_ENDPOINT= | ||
| S3_HOSTNAME_IMMUTABLE=false | ||
| S3_REGION= | ||
| S3_ACCESS_KEY_ID= | ||
| S3_SECRET_ACCESS_KEY= | ||
| S3_MULTI_PART_SIZE=5242880 | ||
| GCS_BUCKET_NAME= | ||
| STORAGE_EMULATOR_HOST= | ||
| K8S_QPS=50 | ||
| K8S_BURST=100 | ||
| PROFILING=true | ||
| PROFILING_PORT=6060 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,15 +8,22 @@ commonAnnotations: | |
| argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
|
|
||
| resources: | ||
| - https://github.com/openshift-pipelines/pipeline-service.git/developer/openshift/gitops/argocd/pipeline-service?ref=72287aca6503f631b917debc27683a508f7e45ad | ||
| - https://github.com/openshift-pipelines/pipeline-service.git/developer/openshift/gitops/argocd/pipeline-service-storage?ref=72287aca6503f631b917debc27683a508f7e45ad | ||
| - https://github.com/openshift-pipelines/pipeline-service.git/developer/openshift/gitops/argocd/pipeline-service?ref=3ed2e97d4eacb0252b153edd2d6006637acb528e | ||
| - https://github.com/openshift-pipelines/pipeline-service.git/developer/openshift/gitops/argocd/pipeline-service-storage?ref=3ed2e97d4eacb0252b153edd2d6006637acb528e | ||
| - ../base/rbac | ||
|
|
||
| images: | ||
| - name: quay.io/redhat-appstudio/tekton-results-api | ||
| newTag: bae7851ff584423503af324200f52cd28ca99116 | ||
| - name: quay.io/redhat-appstudio/tekton-results-watcher | ||
| newTag: bae7851ff584423503af324200f52cd28ca99116 | ||
| # generate a new configmap with updated values (logs api, db ssl mode) and replace the default one | ||
| configMapGenerator: | ||
| - behavior: replace | ||
| files: | ||
| - config.env | ||
| name: api-config | ||
| options: | ||
| disableNameSuffixHash: true | ||
| - behavior: merge | ||
| name: config-observability | ||
| literals: | ||
| - profiling.enable="true" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so we can get thread dumps if need be .... safe to run in prod per https://go.dev/doc/diagnostics will not be turning on cpu profiling etc. I see us turning on profiling for as many tekton controllers as possible in konflux as part of app sre reqs wrt thread dumps |
||
|
|
||
| patches: | ||
| - path: chains-tekton-config-patches.yaml | ||
|
|
@@ -56,3 +63,8 @@ patches: | |
| target: | ||
| kind: TektonConfig | ||
| name: config | ||
| - path: update-results-watcher-performance.yaml | ||
| target: | ||
| kind: Deployment | ||
| namespace: tekton-results | ||
| name: tekton-results-watcher | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: -threadiness | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: "50" | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: -qps | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: "50" | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: -burst | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: "100" | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: -update_log_timeout | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: "9m" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. based on performance testing with @pmacik |
||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: -dynamic_reconcile_timeout | ||
| - op: add | ||
| path: /spec/template/spec/containers/0/args/- | ||
| value: "9m" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. based on performance testing with @pmacik |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| - op: replace | ||
| path: /spec/replicas | ||
| # default pipeline-service setting is 1 | ||
| value: 2 | ||
| value: 1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| DB_USER= | ||
| DB_PASSWORD= | ||
| DB_HOST= | ||
| DB_PORT=5432 | ||
| DB_NAME= | ||
| DB_SSLMODE=disable | ||
| DB_SSLROOTCERT= | ||
| DB_ENABLE_AUTO_MIGRATION=true | ||
| SERVER_PORT=8080 | ||
| PROMETHEUS_PORT=9090 | ||
| PROMETHEUS_HISTOGRAM=true | ||
| TLS_PATH=/etc/tls | ||
| AUTH_DISABLE=false | ||
| AUTH_IMPERSONATE=true | ||
| LOG_LEVEL=info | ||
| LOGS_API=false | ||
| LOGS_TYPE=File | ||
| LOGS_BUFFER_SIZE=5242880 | ||
| LOGS_PATH=/logs | ||
| S3_BUCKET_NAME= | ||
| S3_ENDPOINT= | ||
| S3_HOSTNAME_IMMUTABLE=false | ||
| S3_REGION= | ||
| S3_ACCESS_KEY_ID= | ||
| S3_SECRET_ACCESS_KEY= | ||
| S3_MULTI_PART_SIZE=5242880 | ||
| GCS_BUCKET_NAME= | ||
| STORAGE_EMULATOR_HOST= | ||
| K8S_QPS=50 | ||
| K8S_BURST=100 | ||
| PROFILING=true | ||
| PROFILING_PORT=6060 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
been backing off of multiple replicas since some odd behavior I saw during the March outage.
production is already back to 1 replica