Compare commits
11 Commits
auto-updat
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a2f4f989e7 | |||
| cacc5ef02b | |||
| f05a1515e6 | |||
| dbb9722840 | |||
| e7e066587f | |||
| cb83a3fa38 | |||
|
|
4b3e1a10d4 | ||
|
|
caf024aaa2 | ||
|
|
f4c1a4b310 | ||
|
|
f6623efab1 | ||
|
|
52cea30ac3 |
@@ -85,11 +85,11 @@ spec:
|
|||||||
mountPath: /home/node/.n8n
|
mountPath: /home/node/.n8n
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 2000m
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
cpu: 512m
|
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
limits:
|
||||||
|
cpu: 4000m
|
||||||
|
memory: 2048Gi
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app: n8n
|
app: n8n
|
||||||
component: worker
|
component: worker
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: n8n
|
app: n8n
|
||||||
@@ -26,6 +26,8 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: "/home/node"
|
value: "/home/node"
|
||||||
|
- name: NODES_EXCLUDE
|
||||||
|
value: "[]"
|
||||||
- name: N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS
|
- name: N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: N8N_RUNNERS_ENABLED
|
- name: N8N_RUNNERS_ENABLED
|
||||||
@@ -77,11 +79,11 @@ spec:
|
|||||||
mountPath: /home/node/.n8n
|
mountPath: /home/node/.n8n
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 2000m
|
||||||
memory: 256Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 4000m
|
||||||
memory: 1Gi
|
memory: 2048Gi
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
- external-secrets.yaml
|
||||||
- storage.yaml
|
- storage.yaml
|
||||||
- rbac.yaml
|
- rbac.yaml
|
||||||
- redis-deployment.yaml
|
- redis-deployment.yaml
|
||||||
@@ -11,6 +12,14 @@ resources:
|
|||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: yacy
|
||||||
|
repo: https://gt.hexor.cy/api/packages/ab/helm
|
||||||
|
version: 0.1.2
|
||||||
|
releaseName: yacy
|
||||||
|
namespace: n8n
|
||||||
|
valuesFile: values-yacy.yaml
|
||||||
|
includeCRDs: true
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
app.kubernetes.io/name: n8n
|
app.kubernetes.io/name: n8n
|
||||||
app.kubernetes.io/instance: n8n-plain
|
|
||||||
@@ -9,19 +9,27 @@ kind: ClusterRole
|
|||||||
metadata:
|
metadata:
|
||||||
name: n8n-clusterrole
|
name: n8n-clusterrole
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
# Core API group ("")
|
||||||
- ""
|
- apiGroups: [""]
|
||||||
resources:
|
resources: ["*"]
|
||||||
- pods
|
verbs: ["get", "list", "watch"]
|
||||||
- jobs
|
|
||||||
- cronjobs
|
# Common built-in API groups
|
||||||
- deployments
|
- apiGroups: ["apps", "batch", "autoscaling", "extensions", "policy"]
|
||||||
- statefulsets
|
resources: ["*"]
|
||||||
verbs:
|
verbs: ["get", "list", "watch"]
|
||||||
- get
|
|
||||||
- list
|
- apiGroups: ["networking.k8s.io", "rbac.authorization.k8s.io", "apiextensions.k8s.io"]
|
||||||
- watch
|
resources: ["*"]
|
||||||
- create
|
verbs: ["get", "list", "watch"]
|
||||||
|
|
||||||
|
- apiGroups: ["coordination.k8s.io", "discovery.k8s.io", "events.k8s.io"]
|
||||||
|
resources: ["*"]
|
||||||
|
verbs: ["get", "list", "watch"]
|
||||||
|
|
||||||
|
- apiGroups: ["storage.k8s.io", "admissionregistration.k8s.io", "authentication.k8s.io", "authorization.k8s.io"]
|
||||||
|
resources: ["*"]
|
||||||
|
verbs: ["get", "list", "watch"]
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteMany
|
||||||
storageClassName: nfs-csi
|
storageClassName: longhorn
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 10Gi
|
storage: 10Gi
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
longhornUI:
|
longhornUI:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
persistence:
|
||||||
|
reclaimPolicy: "Retain"
|
||||||
|
|||||||
Reference in New Issue
Block a user