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

Move keda autoscaling changes to prod #1453

Merged
merged 8 commits into from
Dec 10, 2024
2 changes: 2 additions & 0 deletions applications/web/templates/hpa-blue-green.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "docker-template.fullname" $ }}-{{ $tag }}
annotations:
validations.keda.sh/hpa-ownership: "false"
spec:
scaleTargetRef:
apiVersion: apps/v1
Expand Down
2 changes: 2 additions & 0 deletions applications/web/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "docker-template.fullname" . }}
annotations:
validations.keda.sh/hpa-ownership: "false"
spec:
{{- if .Values.autoscaling.behavior.enabled }}
behavior:
Expand Down
2 changes: 1 addition & 1 deletion applications/web/templates/scaled-object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: {{ $fullName }}
name: {{ $fullName }}
spec:
scaleTargetRef:
apiVersion: apps/v1
Expand Down
2 changes: 2 additions & 0 deletions applications/worker/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "docker-template.fullname" . }}
annotations:
validations.keda.sh/hpa-ownership: "false"
spec:
{{- if .Values.autoscaling.behavior.enabled }}
behavior:
Expand Down
Loading