mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-09 00:31:31 -05:00
Update folder location
This commit is contained in:
parent
dc324a2d8b
commit
c39f20e371
170 changed files with 8461 additions and 25 deletions
24
master/durpapi/templates/hpa.yaml
Normal file
24
master/durpapi/templates/hpa.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-hpa"
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ .Chart.Name }}
|
||||
minReplicas: {{ .Values.deployment.hpa.minReplicas }}
|
||||
maxReplicas: {{ .Values.deployment.hpa.maxReplicas }}
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: memory
|
||||
target:
|
||||
type: Utilization
|
||||
averageUtilization: 80
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
target:
|
||||
type: Utilization
|
||||
averageUtilization: 40
|
||||
Loading…
Add table
Add a link
Reference in a new issue