Skip to content

Conversation

@valAndre07
Copy link
Contributor

@valAndre07 valAndre07 commented Jul 17, 2025

Changes

Linked issue : #8886

In order to use helm charts from cdfoundation to deploy tekton controller, it could be easier to add the possibility to configure threads-per-controller, kube-api-qps and kube-api-burst by environment variables rather than by args.

KUBE_API_BURST and KUBE_API_QPS env vars can already override kube-api-qps and kube-api-burst default value :

We just need to allow THREADS_PER_CONTROLLER env var to override default threads-per-controller value.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

Default `threads-per-controller` value can be override by `THREADS_PER_CONTROLLER` env var

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jul 17, 2025
@tekton-robot tekton-robot requested review from dibyom and jerop July 17, 2025 08:49
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 17, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: valAndre07 / name: ANDRE Valentin (a11bbe0)

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 17, 2025
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
cmd/resolvers/main.go 29.4% 22.7% -6.7

@valAndre07
Copy link
Contributor Author

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 17, 2025
@valAndre07 valAndre07 force-pushed the pass-threads-per-controller-through-env-var branch from f056ab9 to f01bb87 Compare July 17, 2025 09:52
Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!
It looks good, just a small question.

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
cmd/resolvers/main.go 29.4% 22.7% -6.7

…-controller default value

In some cases, it could be easier to add the possibility to configure
threads-per-controller, kube-api-qps and kube-api-burst
by environment variables rather than by args
@valAndre07 valAndre07 force-pushed the pass-threads-per-controller-through-env-var branch from f01bb87 to a11bbe0 Compare July 17, 2025 12:01
@valAndre07
Copy link
Contributor Author

/test pull-tekton-pipeline-go-coverage-df

@tekton-robot
Copy link
Collaborator

@valAndre07: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/test pull-tekton-pipeline-go-coverage-df

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
cmd/resolvers/main.go 29.4% 22.7% -6.7

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
cmd/resolvers/main.go 29.4% 22.7% -6.7

@valAndre07 valAndre07 requested a review from afrittoli July 17, 2025 14:09
@tekton-robot
Copy link
Collaborator

@valAndre07: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/test ci / e2e-tests / e2e tests (k8s-plus-one, alpha) (pull_request)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@valAndre07
Copy link
Contributor Author

/ok-to-test

@tekton-robot
Copy link
Collaborator

@valAndre07: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/ok-to-test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@afrittoli
Copy link
Member

/retest

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 21, 2025
@valAndre07
Copy link
Contributor Author

Thanks a lot for the approve @afrittoli 😃
Can you explain me what is the next step ?

@afrittoli
Copy link
Member

Thanks a lot for the approve @afrittoli 😃 Can you explain me what is the next step ?

Of course. We have a policy of two reviews for pipeline PRs, once another maintainer approves, they'll add an lgtm comment and the PR will be automatically be merged.

If the second reviewer requests changes, and new update on the PR will be required instead.

@afrittoli
Copy link
Member

/cc @vdemeester

@tekton-robot tekton-robot requested a review from vdemeester July 21, 2025 16:27
@afrittoli
Copy link
Member

/cc @twoGiants

@tekton-robot tekton-robot requested a review from twoGiants July 24, 2025 13:38
Copy link
Member

@twoGiants twoGiants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@twoGiants
Copy link
Member

/approve
/lgtm
/meow

@tekton-robot
Copy link
Collaborator

@twoGiants: cat image

Details

In response to this:

/approve
/lgtm
/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2025
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afrittoli, twoGiants

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot merged commit 2c9e5ee into tektoncd:main Jul 24, 2025
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants