added repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{- if .Values.global.aurva_controller.enabled }}
|
||||
{{- if .Values.aurva_controller.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v2
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ include "aurva-controller.fullname" . }}-hpa
|
||||
labels:
|
||||
app: {{ include "aurva-controller.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ include "aurva-controller.fullname" . }}
|
||||
minReplicas: {{ .Values.aurva_controller.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.aurva_controller.autoscaling.maxReplicas }}
|
||||
metrics:
|
||||
{{- toYaml .Values.aurva_controller.autoscaling.metrics | nindent 4 }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user