Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4e01f912ed
|
|||
bf6002c156
|
@ -3,7 +3,7 @@ kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "n8n-webhook.fullname" . }}
|
||||
labels:
|
||||
{{- include "n8n.labels" . | nindent 4 }}
|
||||
{{- include "n8n-webhook.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if not .Values.webhook.autoscaling.enabled }}
|
||||
replicas: {{ .Values.webhook.replicaCount }}
|
||||
|
@ -2,14 +2,14 @@
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ include "n8n.fullname" . }}-worker
|
||||
name: {{ include "n8n-worker.fullname" . }}
|
||||
labels:
|
||||
{{- include "n8n.labels" . | nindent 4 }}
|
||||
{{- include "n8n-worker.labels" . | nindent 4 }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ include "n8n.fullname" . }}
|
||||
name: {{ include "n8n-worker.fullname" . }}
|
||||
minReplicas: {{ .Values.worker.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.worker.autoscaling.maxReplicas }}
|
||||
metrics:
|
||||
|
Reference in New Issue
Block a user