Update hpa.yaml

update apiVersion: autoscaling/v2beta2
This commit is contained in:
dirien
2020-08-05 12:10:36 +02:00
committed by GitHub
parent 26a630c0b4
commit a8b8bad0e4
+6 -4
View File
@@ -1,4 +1,4 @@
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: podinfo
@@ -13,6 +13,8 @@ spec:
- type: Resource
resource:
name: cpu
# scale up if usage is above
# 99% of the requested CPU (100m)
targetAverageUtilization: 99
target:
type: Utilization
# scale up if usage is above
# 99% of the requested CPU (100m)
averageUtilization: 99