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