I am getting this error while installing the n8n instance. Would someone able to guide me here to proceed further please?
May you share your setup.
How do you start n8n? Using npm, docker (compose)?
I am trying to install using docker. Below are my configurations. When I run ‘kubectl apply’ command, I am getting the error mentioned in my previous message
apiVersion: apps/v1
kind: Deployment
metadata:
name: n8n
namespace:
spec:
replicas: 1
selector:
matchLabels:
app: n8n
appName: n8n
owner: <team_name>
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 10
template:
metadata:
labels:
app: n8n
appName: n8n
owner: <team_name>
spec:
containers:
- name: n8n
env:
- name: DB_POSTGRESDB_SSL_ENABLED
value: “true”
- name: DB_TYPE
value: postgresdb
- name: DB_POSTGRESDB_DATABASE
value: n8n
- name: DB_POSTGRESDB_PORT
value: “5432”
- name: DB_POSTGRESDB_USER
value:
- name: DB_POSTGRESDB_HOST
value: <postgresdb_host>
- name: DB_POSTGRESDB_SCHEMA
value:
- name: <password_name>
valueFrom:
secretKeyRef:
key: secret
name: <secret_name>
image: <image_name>
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
path: /
port: 5678
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 20
ports:
- containerPort: 5678
protocol: TCP
readinessProbe:
failureThreshold: 60
httpGet:
path: /
port: 5678
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 20
resources:
limits:
cpu: “2”
memory: 2Gi
requests:
cpu: “1”
memory: 1Gi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /home/node/.n8n
name: n8n-data
volumes:
- name: n8n-data
persistentVolumeClaim:
claimName: csi-n8n-pvc
- emptyDir: {}
name: n8n-plugins