Files
ncore-hnr/k8s/debug-pod.yaml
Zsolt Alföldi a322af07d0 Update README.md with Docker build and Kubernetes debug instructions
- Added instructions for building and pushing Docker images with specific tags.
- Included steps for creating Kubernetes secrets from local .env files.
- Provided guidance on manually creating and removing a debug pod in Kubernetes.
2026-05-07 01:20:33 +02:00

44 lines
1.0 KiB
YAML

apiVersion: v1
kind: Pod
metadata:
name: ncore-hnr-debug
namespace: media-server
labels:
app.kubernetes.io/name: ncore-hnr-debug
spec:
restartPolicy: Never
securityContext:
fsGroup: 65532
containers:
- name: ncore-hnr-debug
image: alfonzso/ncore-hnr-debug:latest
imagePullPolicy: Always
command: ["sh", "-c", "sleep infinity"]
envFrom:
- secretRef:
name: ncore-hnr-secrets
env:
- name: QBITTORRENT_URL
value: http://ms-qbittorrent
- name: APP_DB_PATH
value: /data/ncore-hnr.sqlite
- name: DRY_RUN
value: "true"
- name: NOTIFICATION_DRY_RUN
value: "true"
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 250m
memory: 256Mi
volumeMounts:
- name: data
mountPath: /data
volumes:
- name: data
hostPath:
path: /mnt/secure/flux-at-home/ncore-hnr/data
type: DirectoryOrCreate