Prod Version
This commit is contained in:
18
tatort-dev/tatort/templates/hpa.yaml
Normal file
18
tatort-dev/tatort/templates/hpa.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.autoscaling.enabled -}}
|
||||
apiVersion: autoscaling/v1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ template "tatort.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "tatort.name" . }}
|
||||
chart: {{ template "tatort.chart" . }}
|
||||
component: tatort
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ template "tatort.fullname" . }}
|
||||
{{ toYaml .Values.autoscaling.config | indent 2 }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user