fix: update autoscaler to non-deprecated version #636

Merged
argoyle merged 1 commits from autoscaler into master 2022-09-26 06:05:15 +00:00
Showing only changes of commit 386f40c58e - Show all commits
+5 -3
View File
@@ -1,4 +1,4 @@
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
@@ -6,7 +6,7 @@ metadata:
name: dancefinder-app
spec:
scaleTargetRef:
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
name: dancefinder-app
minReplicas: 2
@@ -15,4 +15,6 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 60
target:
type: Utilization
averageUtilization: 60