k8s
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
apiVersion: autoscaling/v1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: reserve-check-service-hpa-cpu
|
||||
labels:
|
||||
env: production
|
||||
tier: backend
|
||||
app: reserve-check-service
|
||||
name: reserve-check-service-hpa-cpu
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: reserve-check-service-deployment
|
||||
minReplicas: 1
|
||||
maxReplicas: 3
|
||||
targetCPUUtilizationPercentage: 70
|
||||
Reference in New Issue
Block a user