diff --git a/k8s/coturn/templates/hpa.yml b/k8s/coturn/templates/hpa.yml new file mode 100644 index 0000000..51b8828 --- /dev/null +++ b/k8s/coturn/templates/hpa.yml @@ -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 \ No newline at end of file diff --git a/k8s/webrtc-be/templates/hpa.yml b/k8s/webrtc-be/templates/hpa.yml new file mode 100644 index 0000000..4e63360 --- /dev/null +++ b/k8s/webrtc-be/templates/hpa.yml @@ -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 \ No newline at end of file