feat(nightscout): migrate from bare-metal LXC to k3s

This commit is contained in:
funman300
2026-05-18 13:47:52 -07:00
parent 70ab699c04
commit e4473578dc
11 changed files with 227 additions and 0 deletions
@@ -0,0 +1,45 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nightscout
namespace: nightscout
spec:
replicas: 1
selector:
matchLabels:
app: nightscout
template:
metadata:
labels:
app: nightscout
spec:
containers:
- name: nightscout
image: nightscout/cgm-remote-monitor:latest
ports:
- containerPort: 1337
name: http
envFrom:
- configMapRef:
name: nightscout-config
- secretRef:
name: nightscout-secret
livenessProbe:
httpGet:
path: /api/v1/status
port: 1337
initialDelaySeconds: 60
periodSeconds: 30
readinessProbe:
httpGet:
path: /api/v1/status
port: 1337
initialDelaySeconds: 30
periodSeconds: 10
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi