Skip to content
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

remove spec.replicas from tekton-pipelines-webhook Deployment #4894

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

sellitforcache
Copy link
Contributor

@sellitforcache sellitforcache commented May 20, 2022

Changes

Simply removing the spec.replicas field from the tekton-pipelines-webhook Deployment since it has a HPA, and having this field would cause the webhook to scale to 1 replica upon re-application.

/kind bug

Submitter Checklist

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

  • Docs included if any changes are user facing
  • Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been filled in
    (if there are no user facing changes, use release note "NONE")

Release Notes

Unset replicas:1 in the webhook Deployment; HPA will autoscale the deployment (1-5 replicas by default).  First reapplication after this change will cause scaling down to 1 replica, but subsequent reapplications will not change the HPA-set replica number.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 20, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: sellitforcache / name: Ryan M. Bergmann (fe3cfab)

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label May 20, 2022
@tekton-robot tekton-robot requested review from dibyom and imjasonh May 20, 2022 14:04
@tekton-robot tekton-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 20, 2022
@tekton-robot
Copy link
Collaborator

Hi @sellitforcache. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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 kind/bug Categorizes issue or PR as related to a bug. label May 20, 2022
@imjasonh
Copy link
Member

Thank you for sending a PR! 🎉

I've got #4893 which unsets and adds a comment for future explorers. I don't feel strongly about one or the other though.

@sellitforcache
Copy link
Contributor Author

Thank you for sending a PR! 🎉

I've got #4893 which unsets and adds a comment for future explorers. I don't feel strongly about one or the other though.

I'd love to be a contributor :). I'll add a release note...

@tekton-robot tekton-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesnt merit a release note. labels May 20, 2022
@imjasonh
Copy link
Member

I'd love to be a contributor :). I'll add a release note...

Great! You'll also need to sign the CLA.

@sellitforcache
Copy link
Contributor Author

I'd love to be a contributor :). I'll add a release note...

Great! You'll also need to sign the CLA.

Done!

@imjasonh
Copy link
Member

/ok-to-test

@tekton-robot tekton-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 20, 2022
@imjasonh
Copy link
Member

/test pull-tekton-pipeline-alpha-integration-tests

(flake)

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2022
@vdemeester
Copy link
Member

/retest
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 23, 2022
@sellitforcache
Copy link
Contributor Author

do I need to resign the CLA with the link in the checklist instead of the one you posted @imjasonh ?

@imjasonh
Copy link
Member

Yeah maybe? We might also just need to poke clabot into checking again

@sellitforcache
Copy link
Contributor Author

Ok I've signed again, just in case...

@imjasonh
Copy link
Member

I think EasyCLA is having difficulty associating the commit author with the GitHub user you used to sign the CLA.

git config user.name "Your Name" # your name here
git config user.email "[email protected]" # the same email you used to sign the CLA
git commit --amend # to modify the commit to update the name & email
git push fork -f # to rewrite your fork to have the new commit

@vdemeester
Copy link
Member

cc @tektoncd/operator-maintainers

@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 1, 2022
@sellitforcache
Copy link
Contributor Author

As far as I can tell, my git config matches my github account and the name/email I used to sign the CLA. I've pushed an amendment just in case, but it looks like EasyCLA is still having problems.

@vdemeester
Copy link
Member

@sellitforcache I think Ryan Bergmann authored and [sellitforcache](https://github.com/sellitforcache/tektoncd-pipeline/commits?author=sellitforcache) committed 16 hours ago is still "messing" with EasyCLA. I tend to use --reset-author when ammending commit to make sure the author and commiter are the same, maybe you need to do the same.

git commit --reset-author --amend --no-edit

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lbernick

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

The pull request process is described here

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

@sellitforcache
Copy link
Contributor Author

@vdemeester thanks, done!

@vdemeester
Copy link
Member

/lgtm

@vdemeester vdemeester closed this Jul 15, 2022
@vdemeester vdemeester reopened this Jul 15, 2022
@vdemeester
Copy link
Member

(damn.. wrong shortcut 😅 )

@vdemeester
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2022
@sellitforcache
Copy link
Contributor Author

/retest

@tekton-robot tekton-robot merged commit 7ac4c0f into tektoncd:main Jul 15, 2022
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/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants