Public Information

This commit is contained in:
2026-03-10 07:33:55 +01:00
commit 4c9519166e
499 changed files with 125937 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 }}{{/* if .Values.autoScale */}}