Unverified Commit 500457f5 authored by initsixcloud's avatar initsixcloud Committed by GitHub

Update and rename petclinic-cpu-hpa.yaml to petclinic-mem-hpa.yaml

parent 50341e00
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: petclicnic-hpa
spec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: petclinic-deployment
targetCPUUtilizationPercentage: 50
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: petclinic-mem-hpa
spec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: petclinic-deployment
metrics:
- type: Resource
resource:
name: memory
targetAverageUtilization: 50
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment