mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-22 03:06:59 -06:00
JFrog Pipelines v1.8.0 as Openshift helm and operator
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{- if .Values.pipelines.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ include "pipelines.services.name" . }}
|
||||
labels:
|
||||
{{- include "pipelines.labels" . | nindent 4 }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
name: {{ include "pipelines.services.name" . }}
|
||||
minReplicas: {{ .Values.pipelines.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.pipelines.autoscaling.maxReplicas }}
|
||||
metrics:
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
targetAverageUtilization: {{ .Values.pipelines.autoscaling.targetCPUUtilizationPercentage }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user