ToolJet/deploy/helm/templates/tooljet/hpa.yaml
John Bampton ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +05:30

20 lines
529 B
YAML

apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: tooljet
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: tooljet
minReplicas: {{ .Values.apps.tooljet.hpa.min }}
maxReplicas: {{ .Values.apps.tooljet.hpa.max }}
metrics:
- type: Resource
resource:
name: cpu
targetAverageValue: {{ .Values.apps.tooljet.hpa.threshold.cpu }}
- type: Resource
resource:
name: memory
targetAverageValue: {{ .Values.apps.tooljet.hpa.threshold.ram }}