Files
k8s-manifests/trilium/deployment.yaml
T
chemavx 0d3da9856a feat: add Trilium Notes deployment
namespace, deployment, PVC (2Gi local-path), service, Traefik ingress
with letsencrypt-prod TLS at trilium.chemavx.xyz, ArgoCD Application.
2026-05-22 09:56:57 +00:00

36 lines
756 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: trilium
namespace: trilium
spec:
replicas: 1
selector:
matchLabels:
app: trilium
template:
metadata:
labels:
app: trilium
spec:
containers:
- name: trilium
image: zadam/trilium:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: data
mountPath: /home/node/trilium-data
volumes:
- name: data
persistentVolumeClaim:
claimName: trilium-pvc