We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db40f6d commit d39a0c1Copy full SHA for d39a0c1
infra/kubernetes/api-gateway-hpa.yaml
@@ -0,0 +1,18 @@
1
+apiVersion: autoscaling/v2
2
+kind: HorizontalPodAutoscaler
3
+metadata:
4
+ name: api-gateway-hpa
5
+spec:
6
+ scaleTargetRef:
7
+ apiVersion: apps/v1
8
+ kind: Deployment
9
+ name: api-gateway
10
+ minReplicas: 2
11
+ maxReplicas: 10
12
+ metrics:
13
+ - type: Resource
14
+ resource:
15
+ name: cpu
16
+ target:
17
+ type: Utilization
18
+ averageUtilization: 70
0 commit comments