feat: add Trilium Notes deployment
namespace, deployment, PVC (2Gi local-path), service, Traefik ingress with letsencrypt-prod TLS at trilium.chemavx.xyz, ArgoCD Application.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user