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

feat: support HPA in helm chart #5127

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

Dean-Coakley
Copy link
Contributor

What type of PR is this?

  • Adds support for HorizontalPodAutoscaler support to helm chart

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #4929

Release Notes: Yes

Signed-off-by: Dean Coakley <[email protected]>
@Dean-Coakley Dean-Coakley requested a review from a team as a code owner January 22, 2025 17:26
Signed-off-by: Dean Coakley <[email protected]>
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.87%. Comparing base (a58021e) to head (9b20d0e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5127      +/-   ##
==========================================
- Coverage   66.89%   66.87%   -0.03%     
==========================================
  Files         210      210              
  Lines       33027    33027              
==========================================
- Hits        22093    22086       -7     
- Misses       9593     9598       +5     
- Partials     1341     1343       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arkodg
Copy link
Contributor

arkodg commented Jan 22, 2025

thanks @Dean-Coakley this looks good ! can you add a test in https://github.com/envoyproxy/gateway/tree/main/test/helm

Signed-off-by: Dean Coakley <[email protected]>
Signed-off-by: Dean Coakley <[email protected]>
Signed-off-by: Dean Coakley <[email protected]>
@Dean-Coakley Dean-Coakley requested review from arkodg and guydc February 10, 2025 11:02
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@arkodg arkodg requested review from a team February 10, 2025 18:07
{{- if .Values.hpa.minReplicas }}
minReplicas: {{ .Values.hpa.minReplicas }}
{{- end }}
maxReplicas: {{ .Values.hpa.maxReplicas }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
maxReplicas: {{ .Values.hpa.maxReplicas }}
{{- if .Values.hpa.maxReplicas }}
maxReplicas: {{ .Values.hpa.maxReplicas }}
{{- end }}

missing?

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.

Add an option to configure HPA for the Envoy Gateway deployment in Helm
4 participants