add autoscaler

This commit is contained in:
Victor Barba Martin 2021-11-18 00:40:15 +01:00
parent 155ac8760c
commit 1e057958dc
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: coturn
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: coturn
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 50

View File

@ -0,0 +1,12 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: webrtc-be
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: webrtc-be
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 50