Files
casa/services/node-red/deploy/app/deployment.yaml
Márcio Fernandes bd0e505b45
All checks were successful
Monitoring services CI/CD Pipeline / deploy (push) Successful in 22s
Deploy Casa services CI/CD Pipeline / deploy (push) Successful in 19s
node-red add authentication
2026-01-01 22:46:16 +00:00

41 lines
923 B
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
image: nodered/node-red:latest
imagePullPolicy: Always
ports:
- containerPort: 1880
volumeMounts:
- name: node-red-data
mountPath: /data
- name: node-red-settings
mountPath: /data/settings.js
subPath: settings.js
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