|
|
@ -70,7 +70,7 @@ spec:
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
apiVersion: autoscaling/v2beta1
|
|
|
|
apiVersion: autoscaling/v2beta2
|
|
|
|
kind: HorizontalPodAutoscaler
|
|
|
|
kind: HorizontalPodAutoscaler
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: {{.Name}}-hpa-c
|
|
|
|
name: {{.Name}}-hpa-c
|
|
|
@ -88,11 +88,13 @@ spec:
|
|
|
|
- type: Resource
|
|
|
|
- type: Resource
|
|
|
|
resource:
|
|
|
|
resource:
|
|
|
|
name: cpu
|
|
|
|
name: cpu
|
|
|
|
targetAverageUtilization: 80
|
|
|
|
target:
|
|
|
|
|
|
|
|
type: Utilization
|
|
|
|
|
|
|
|
averageUtilization: 80
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
apiVersion: autoscaling/v2beta1
|
|
|
|
apiVersion: autoscaling/v2beta2
|
|
|
|
kind: HorizontalPodAutoscaler
|
|
|
|
kind: HorizontalPodAutoscaler
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: {{.Name}}-hpa-m
|
|
|
|
name: {{.Name}}-hpa-m
|
|
|
@ -110,4 +112,6 @@ spec:
|
|
|
|
- type: Resource
|
|
|
|
- type: Resource
|
|
|
|
resource:
|
|
|
|
resource:
|
|
|
|
name: memory
|
|
|
|
name: memory
|
|
|
|
targetAverageUtilization: 80
|
|
|
|
target:
|
|
|
|
|
|
|
|
type: Utilization
|
|
|
|
|
|
|
|
averageUtilization: 80
|
|
|
|