Compare commits

...

2 Commits

Author SHA1 Message Date
Gitea Actions Bot
06fbb444e1 Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 21s
Generated by CI/CD workflow on 2026-02-16 11:37:45

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-02-16 11:37:45 +00:00
AB from home.homenet
60400c5b3d Fixed probes n8n
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 9s
2026-02-16 13:37:18 +02:00
6 changed files with 109 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ ArgoCD homelab project
| **jellyfin** | [![jellyfin](https://ag.hexor.cy/api/badge?name=jellyfin&revision=true)](https://ag.hexor.cy/applications/argocd/jellyfin) | | **jellyfin** | [![jellyfin](https://ag.hexor.cy/api/badge?name=jellyfin&revision=true)](https://ag.hexor.cy/applications/argocd/jellyfin) |
| **k8s-secrets** | [![k8s-secrets](https://ag.hexor.cy/api/badge?name=k8s-secrets&revision=true)](https://ag.hexor.cy/applications/argocd/k8s-secrets) | | **k8s-secrets** | [![k8s-secrets](https://ag.hexor.cy/api/badge?name=k8s-secrets&revision=true)](https://ag.hexor.cy/applications/argocd/k8s-secrets) |
| **khm** | [![khm](https://ag.hexor.cy/api/badge?name=khm&revision=true)](https://ag.hexor.cy/applications/argocd/khm) | | **khm** | [![khm](https://ag.hexor.cy/api/badge?name=khm&revision=true)](https://ag.hexor.cy/applications/argocd/khm) |
| **mtproxy** | [![mtproxy](https://ag.hexor.cy/api/badge?name=mtproxy&revision=true)](https://ag.hexor.cy/applications/argocd/mtproxy) |
| **n8n** | [![n8n](https://ag.hexor.cy/api/badge?name=n8n&revision=true)](https://ag.hexor.cy/applications/argocd/n8n) | | **n8n** | [![n8n](https://ag.hexor.cy/api/badge?name=n8n&revision=true)](https://ag.hexor.cy/applications/argocd/n8n) |
| **ollama** | [![ollama](https://ag.hexor.cy/api/badge?name=ollama&revision=true)](https://ag.hexor.cy/applications/argocd/ollama) | | **ollama** | [![ollama](https://ag.hexor.cy/api/badge?name=ollama&revision=true)](https://ag.hexor.cy/applications/argocd/ollama) |
| **paperless** | [![paperless](https://ag.hexor.cy/api/badge?name=paperless&revision=true)](https://ag.hexor.cy/applications/argocd/paperless) | | **paperless** | [![paperless](https://ag.hexor.cy/api/badge?name=paperless&revision=true)](https://ag.hexor.cy/applications/argocd/paperless) |

View File

@@ -54,6 +54,8 @@ spec:
ports: ports:
- containerPort: 5678 - containerPort: 5678
name: http name: http
- containerPort: 5679
name: task-broker
env: env:
- name: PATH - name: PATH
value: "/opt/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" value: "/opt/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
@@ -73,6 +75,10 @@ spec:
value: "true" value: "true"
- name: N8N_RUNNERS_MODE - name: N8N_RUNNERS_MODE
value: "external" value: "external"
- name: N8N_RUNNERS_BROKER_LISTEN_ADDRESS
value: "0.0.0.0"
- name: N8N_RUNNERS_BROKER_PORT
value: "5679"
- name: EXECUTIONS_MODE - name: EXECUTIONS_MODE
value: "queue" value: "queue"
- name: QUEUE_BULL_REDIS_HOST - name: QUEUE_BULL_REDIS_HOST

View File

@@ -0,0 +1,92 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: n8n-runner
labels:
app: n8n
component: runner
spec:
replicas: 2
selector:
matchLabels:
app: n8n
component: runner
template:
metadata:
labels:
app: n8n
component: runner
spec:
serviceAccountName: n8n
containers:
- name: n8n-runner
image: docker.n8n.io/n8nio/n8n:latest
command:
- /bin/sh
- -c
- /usr/local/bin/task-runner-launcher javascript
env:
- name: PATH
value: "/opt/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
- name: HOME
value: "/home/node"
- name: N8N_RUNNERS_TASK_BROKER_URI
value: "n8n:5679"
- name: N8N_RUNNERS_MODE
value: "external"
- name: N8N_RUNNERS_MAX_CONCURRENCY
value: "10"
- name: N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT
value: "30"
- name: NODE_OPTIONS
value: "--max-old-space-size=1024"
- name: GENERIC_TIMEZONE
value: "Europe/Moscow"
- name: TZ
value: "Europe/Moscow"
- name: N8N_RUNNERS_AUTH_TOKEN
valueFrom:
secretKeyRef:
name: credentials
key: runnertoken
volumeMounts:
- name: n8n-data
mountPath: /home/node/.n8n
- name: tools
mountPath: /opt/tools
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 2000m
memory: 2048Mi
livenessProbe:
httpGet:
path: /healthz
port: 5680
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /healthz
port: 5680
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
volumes:
- name: n8n-data
persistentVolumeClaim:
claimName: n8n-data
- name: tools
persistentVolumeClaim:
claimName: n8n-tools
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000

View File

@@ -36,6 +36,10 @@ spec:
value: "true" value: "true"
- name: N8N_RUNNERS_MODE - name: N8N_RUNNERS_MODE
value: "external" value: "external"
- name: N8N_RUNNERS_BROKER_LISTEN_ADDRESS
value: "0.0.0.0"
- name: N8N_RUNNERS_BROKER_PORT
value: "5679"
- name: N8N_PORT - name: N8N_PORT
value: "80" value: "80"
- name: EXECUTIONS_MODE - name: EXECUTIONS_MODE

View File

@@ -10,7 +10,8 @@ resources:
- paddleocr-deployment.yaml - paddleocr-deployment.yaml
- paddleocr-service.yaml - paddleocr-service.yaml
- deployment-main.yaml - deployment-main.yaml
- deployment-worker.yaml # - deployment-worker.yaml
- deployment-runner.yaml
- service.yaml - service.yaml
- ingress.yaml - ingress.yaml

View File

@@ -14,4 +14,8 @@ spec:
port: 80 port: 80
targetPort: 5678 targetPort: 5678
protocol: TCP protocol: TCP
- name: task-broker
port: 5679
targetPort: 5679
protocol: TCP
type: ClusterIP type: ClusterIP