Skip to content

Commit

Permalink
changing hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
M_Westerholz committed Nov 5, 2024
1 parent 2381c46 commit 1b78d8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/dbildungs-iam-ldap/templates/hpa.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "common.names.name" . }}
name: {{ template "openldap.fullname" . }}-hpa #naming correct?
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: {{ include "common.names.name" . }}
app.kubernetes.io/name: {{ template "openldap.fullname" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "common.names.name" . }}
name: {{ template "openldap.fullname" . }}-metrics
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
Expand Down

0 comments on commit 1b78d8c

Please sign in to comment.