just go for it

This commit is contained in:
ducoterra
2020-06-08 08:42:42 -04:00
parent b9b948a8b5
commit 8c9389ba1f
22 changed files with 325 additions and 165 deletions

18
helm/templates/hpa.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ .Release.Name }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ .Release.Name }}
minReplicas: 1
maxReplicas: 4
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 50