ingress-nginx icon indicating copy to clipboard operation
ingress-nginx copied to clipboard

Determine the hpa version and select the hpa version

Open qilongqiu opened this issue 3 years ago • 6 comments

What this PR does / why we need it:

fixes #8599

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation only

Which issue/s this PR fixes

fixes #8599

How Has This Been Tested?

helm install ingress charts/ingress-nginx \
--set controller.autoscaling.enabled=true \
--set defaultBackend.autoscaling.enabled=true \
--set defaultBackend.enabled=true --dry-run

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I've read the CONTRIBUTION guide
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

qilongqiu avatar Jul 27 '22 08:07 qilongqiu

@qilongqiu: This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

k8s-ci-robot avatar Jul 27 '22 08:07 k8s-ci-robot

Hi @qilongqiu. Thanks for your PR.

I'm waiting for a kubernetes 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.

k8s-ci-robot avatar Jul 27 '22 08:07 k8s-ci-robot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: qilongqiu Once this PR has been reviewed and has the lgtm label, please assign cpanato for approval by writing /assign @cpanato in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

k8s-ci-robot avatar Jul 27 '22 09:07 k8s-ci-robot

@cpanato I have updated the chart version.

qilongqiu avatar Jul 27 '22 09:07 qilongqiu

@qilongqiu thanks for the contribution. It help.

Can you confirm if you checked in the file /charts/ingress-nginx/README.md after using helmdocs https://github.com/kubernetes/ingress-nginx/blob/main/RELEASE.md#d-edit-the-valuesyaml-and-run-helm-docs or did you manually edit that string 4.2.1.

longwuyuan avatar Jul 27 '22 10:07 longwuyuan

@longwuyuan Yes, I used the helm-docs command. image

qilongqiu avatar Jul 27 '22 10:07 qilongqiu

@qilongqiu: PR needs rebase.

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.

k8s-ci-robot avatar Aug 23 '22 05:08 k8s-ci-robot

@qilongqiu I thought you were addressing the conditional check to use appropriate hpa api version. But now I see the list of files changes is 0. Any comments

longwuyuan avatar Nov 29 '22 09:11 longwuyuan

Close in favor of #9348 ?

sjoukedv avatar Nov 29 '22 10:11 sjoukedv