-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 Default backend HPA autoscaling. #6423
Add Default backend HPA autoscaling. #6423
Conversation
Welcome @haad! |
Hi @haad. 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 Once the patch is verified, the new status will be reflected by the 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. |
/ok-to-test |
charts/ingress-nginx/Chart.yaml
Outdated
@@ -1,6 +1,6 @@ | |||
apiVersion: v1 | |||
name: ingress-nginx | |||
version: 3.8.0 | |||
version: 3.8.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is a new feature please bump the minor version:
version: 3.8.1 | |
version: 3.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@haad also, please update https://github.com/kubernetes/ingress-nginx/blob/master/charts/ingress-nginx/CHANGELOG.md |
charts/ingress-nginx/README.md
Outdated
@@ -219,3 +219,46 @@ Error: UPGRADE FAILED: Service "?????-controller" is invalid: spec.clusterIP: In | |||
Detail of how and why are in [this issue](https://github.com/helm/charts/pull/13646) but to resolve this you can set `xxxx.service.omitClusterIP` to `true` where `xxxx` is the service referenced in the error. | |||
|
|||
As of version `1.26.0` of this chart, by simply not providing any clusterIP value, `invalid: spec.clusterIP: Invalid value: "": field is immutable` will no longer occur since `clusterIP: ""` will not be rendered. | |||
|
|||
## Using custom default backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add this information here. If you want to add another example, please open a different PR updating https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, I think I will drop that for now.
d44a865
to
cc53e2d
Compare
charts/ingress-nginx/Chart.yaml
Outdated
@@ -16,6 +16,7 @@ engine: gotpl | |||
kubeVersion: ">=1.16.0-0" | |||
annotations: | |||
artifacthub.io/changes: | | |||
- Add Default backend HPA autoscaling | |||
- Update jettech/kube-webhook-certgen image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
47db847
to
6f38b26
Compare
/assign @ChiefAlexander |
labels: | ||
app: {{ template "nginx-ingress.name" . }} | ||
chart: {{ template "nginx-ingress.chart" . }} | ||
component: "{{ .Values.defaultBackend.name }}" | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these labels are wrong for this chart
labels: | |
app: {{ template "nginx-ingress.name" . }} | |
chart: {{ template "nginx-ingress.chart" . }} | |
component: "{{ .Values.defaultBackend.name }}" | |
heritage: {{ .Release.Service }} | |
release: {{ .Release.Name }} | |
labels: | |
{{- include "ingress-nginx.labels" . | nindent 4 }} | |
app.kubernetes.io/component: default-backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fixed now
6f38b26
to
ab9ba3e
Compare
/lgtm |
Thanks for the PR! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ChiefAlexander, haad 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 |
What this PR does / why we need it:
This PR will add conditional HPA for default backend for those who need to scale it. This change is already present at original HELM charts repository.
Types of changes
Checklist: