You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
591 B
21 lines
591 B
{{- if .Values.web.hpa.enabled }}
|
|
apiVersion: autoscaling/v2beta1
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
name: {{ include "jitsi-meet.name-web" . }}
|
|
labels:
|
|
{{ include "jitsi-meet.labels" . | indent 4 }}
|
|
spec:
|
|
scaleTargetRef:
|
|
apiVersion: apps/v1beta1
|
|
kind: Deployment
|
|
name: {{ include "jitsi-meet.name-web" . }}
|
|
maxReplicas: {{ .Values.web.hpa.maxReplicas }}
|
|
minReplicas: {{ .Values.web.hpa.minReplicas }}
|
|
metrics:
|
|
{{- range .Values.web.hpa.metrics }}
|
|
- type: {{ .type }}
|
|
resource:
|
|
{{- toYaml .resource | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }} |