Files
casa/services/node-red/deploy/app/deployment.yaml
T
2026-07-31 01:17:01 +00:00

50 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: node-red
namespace: node-red
spec:
replicas: 1
selector:
matchLabels:
app: node-red
template:
metadata:
labels:
app: node-red
spec:
containers:
- name: node-red
### Maintained by flux - Image Update Automation
image: nodered/node-red:latest@sha256:10f40d0a83e7e5852b13d4d472b2006b05b1cca6d55e2f29a55a12c25a630cb6 # {"$imagepolicy": "node-red:node-red"}
###
imagePullPolicy: Always
ports:
- containerPort: 1880
volumeMounts:
- name: node-red-data
mountPath: /data
- name: node-red-settings
mountPath: /data/settings.js
subPath: settings.js
- name: limbomox-ssh
mountPath: /.keys/limbomox-ssh-node-red/id_ed25519
subPath: id-ed25519
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "500m"
volumes:
- name: node-red-data
persistentVolumeClaim:
claimName: node-red
- name: node-red-settings
secret:
secretName: node-red-settings
- name: limbomox-ssh
secret:
secretName: limbomox-ssh