Public Information

This commit is contained in:
2025-01-24 16:18:47 +01:00
commit 0bd2038c86
449 changed files with 108655 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{{- if .Values.autoScale }}
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: {{ .component.fullName }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "nplus.instanceLabels" . | nindent 4 }}
annotations:
{{- include "nplus.annotations" . | nindent 4 }}
{{- include "nplus.argoWave" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: StatefulSet
name: {{ .component.fullName }}
minReplicas: {{ .Values.replicaCount }}
maxReplicas: {{ .Values.autoScale }}
targetCPUUtilizationPercentage: 80
{{- end }}