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

Add support for GWP HPA autoscaling/v2 #7644

Merged

Conversation

kevin-shelaga
Copy link
Contributor

@kevin-shelaga kevin-shelaga commented Jan 9, 2023

Description

Add support for gateway proxy hpa autoscaling/v2

Context

Fixes: #7634

Checklist:

  • I included a concise, user-facing changelog (for details, see https://github.com/solo-io/go-utils/tree/master/changelogutils) which references the issue that is resolved.
  • If I updated APIs (our protos) or helm values, I ran make -B install-go-tools generated-code to ensure there will be no code diff
  • I followed guidelines laid out in the Gloo Edge contribution guide
  • I opened a draft PR or added the work in progress label if my PR is not ready for review
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

BOT NOTES:
resolves #7634

@kevin-shelaga kevin-shelaga requested a review from a team as a code owner January 9, 2023 02:46
@solo-changelog-bot
Copy link

Issues linked to changelog:
#7634

@kevin-shelaga
Copy link
Contributor Author

Flake?

@sam-heilbron
Copy link
Contributor

Flake?

I imagine you're referring to the failed upgrade test?

If so, #7517 (comment) outlines this. The test is not required since we know it has gaps, so it shouldn't prevent this from merging.

prepareMakefileFromValuesFile("values/val_gwp_hpa_v2.yaml")

hpa := makeUnstructured(`
apiVersion: autoscaling/v2
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: this is an unnecessary amount of yaml to verify what this PR is setting out to do (verify only GWA HPA autoscaling/v2)

Copy link
Contributor

Choose a reason for hiding this comment

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

Tend to agree, though this seems to mirror existing tests so I don't mind following the pattern
If there are any fields introduced in v2 compared to v2beta2 it would probably be worthwhile to include those

Copy link
Contributor

@bewebi bewebi left a comment

Choose a reason for hiding this comment

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

LGTM

@soloio-bulldozer soloio-bulldozer bot merged commit 1832a79 into solo-io:master Jan 9, 2023
jlourenc added a commit to jlourenc/gloo that referenced this pull request Jun 2, 2023
jlourenc added a commit to jlourenc/gloo that referenced this pull request Jun 2, 2023
sam-heilbron pushed a commit that referenced this pull request Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supporting HPA autoscaling/v2
4 participants