mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-10 09:11:30 -05:00
Update 8 files
- /invidious/values.yaml - /invidious/Chart.yaml - /invidious/templates/configmap.yaml - /invidious/templates/deployment.yaml - /invidious/templates/_helpers.tpl - /invidious/templates/hpa.yaml - /invidious/templates/service.yaml - /argocd/templates/invidious.yaml
This commit is contained in:
parent
7e0121d058
commit
61250f16d4
8 changed files with 231 additions and 0 deletions
18
invidious/templates/hpa.yaml
Normal file
18
invidious/templates/hpa.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{- if .Values.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ template "invidious.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "invidious.name" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ template "invidious.fullname" . }}
|
||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||
targetCPUUtilizationPercentage: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue