summaryrefslogtreecommitdiffstats
path: root/kubernetes/templates/hpa.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/templates/hpa.yaml')
-rw-r--r--kubernetes/templates/hpa.yaml18
1 files changed, 0 insertions, 18 deletions
diff --git a/kubernetes/templates/hpa.yaml b/kubernetes/templates/hpa.yaml
deleted file mode 100644
index c6fbefe2..00000000
--- a/kubernetes/templates/hpa.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-{{- 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 }}