Skip to content

Commit

Permalink
Merge pull request #1453 from porter-dev/main
Browse files Browse the repository at this point in the history
Move keda autoscaling changes to prod
  • Loading branch information
yosefmih authored Dec 10, 2024
2 parents 1d1a1d4 + f88f924 commit 148cc82
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
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

0 comments on commit 148cc82

Please sign in to comment.