Files
service-catalog/manifests/helm/lakekeeper/0.8.1/templates/catalog/catalog-hpa.yaml
T
2026-01-19 16:11:44 +09:00

19 lines
592 B
YAML

{{- if (.Values.catalog.autoscaling.enabled) }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "iceberg-catalog.fullname" . }}
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: catalog
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "iceberg-catalog.fullname" . }}
minReplicas: {{ .Values.catalog.replicas }}
maxReplicas: {{ .Values.catalog.autoscaling.maxReplicas }}
metrics:
{{- toYaml .Values.catalog.autoscaling.metrics | nindent 4 }}
{{- end }}