Sha256: 42f7b818780760879681a307b40924e12eaaa27f45060a75087c135edc3f1da0

Contents?: true

Size: 902 Bytes

Versions: 28

Compression:

Stored size: 902 Bytes

Contents

{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: {{ include "hyrax.fullname" . }}
  labels:
    {{- include "hyrax.labels" . | nindent 4 }}
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: {{ include "hyrax.fullname" . }}
  minReplicas: {{ .Values.autoscaling.minReplicas }}
  maxReplicas: {{ .Values.autoscaling.maxReplicas }}
  metrics:
  {{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
    - type: Resource
      resource:
        name: cpu
        targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
  {{- end }}
  {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
    - type: Resource
      resource:
        name: memory
        targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
  {{- end }}
{{- end }}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 chart/hyrax/templates/hpa.yaml
hyrax-5.0.4 chart/hyrax/templates/hpa.yaml
hyrax-5.0.3 chart/hyrax/templates/hpa.yaml
hyrax-5.0.2 chart/hyrax/templates/hpa.yaml
hyrax-5.0.1 chart/hyrax/templates/hpa.yaml
hyrax-5.0.0 chart/hyrax/templates/hpa.yaml
hyrax-5.0.0.rc3 chart/hyrax/templates/hpa.yaml
hyrax-5.0.0.rc2 chart/hyrax/templates/hpa.yaml
hyrax-5.0.0.rc1 chart/hyrax/templates/hpa.yaml
hyrax-3.6.0 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0.rc3 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0.rc2 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0.rc1 chart/hyrax/templates/hpa.yaml
hyrax-3.5.0 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0.beta2 chart/hyrax/templates/hpa.yaml
hyrax-3.4.2 chart/hyrax/templates/hpa.yaml
hyrax-4.0.0.beta1 chart/hyrax/templates/hpa.yaml
hyrax-3.4.1 chart/hyrax/templates/hpa.yaml
hyrax-3.4.0 chart/hyrax/templates/hpa.yaml