Added storage for n8n
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s

This commit is contained in:
AB from home.homenet
2026-02-04 01:49:36 +02:00
parent 3157b0c325
commit 9df0a3c8b7
3 changed files with 42 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ kind: Kustomization
resources: resources:
- external-secrets.yaml - external-secrets.yaml
- storage.yaml
helmCharts: helmCharts:
- name: n8n - name: n8n

12
k8s/apps/n8n/storage.yaml Normal file
View File

@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: n8n-home
spec:
accessModes:
- ReadWriteMany
storageClassName: nfs-csi
resources:
requests:
storage: 10Gi

View File

@@ -1,21 +1,9 @@
webhook: nodeSelector:
url: https://n8n.hexor.cy kubernetes.io/hostname: master.tail2fe2d.ts.net
db: db:
type: postgresdb type: postgresdb
worker:
mode: queue
redis:
enabled: true
externalPostgresql:
existingSecret: postgres-password
host: "psql.psql.svc"
username: "n8n"
database: "n8n"
main: main:
resources: resources:
requests: requests:
@@ -24,6 +12,33 @@ main:
limits: limits:
cpu: 512m cpu: 512m
memory: 512Mi memory: 512Mi
persistence:
enabled: true
existingClaim: n8n-home
mountPath: /home/node/.n8n
worker:
mode: queue
persistence:
enabled: true
existingClaim: n8n-home
mountPath: /home/node/.n8n
webhook:
url: https://n8n.hexor.cy
persistence:
enabled: true
existingClaim: n8n-home
mountPath: /home/node/.n8n
redis:
enabled: true
externalPostgresql:
existingSecret: postgres-password
host: "psql.psql.svc"
username: "n8n"
database: "n8n"
ingress: ingress:
enabled: true enabled: true
@@ -42,6 +57,3 @@ ingress:
hosts: hosts:
- '*.hexor.cy' - '*.hexor.cy'
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net