Files
medicalalert-web-reloaded/build/stage/web-hpa.yml
Jay Sharma 7e27b51e36 update envs
2024-06-17 21:11:06 +05:30

19 lines
404 B
YAML

apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: weareconnectamerica-web-hpa
namespace: weareconnectamerica-web
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: weareconnectamerica-web
minReplicas: 1
maxReplicas: 2
metrics:
- resource:
name: cpu
target:
averageValue: "90"
type: AverageValue
type: Resource