54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ntfy-debug
|
|
labels:
|
|
app.kubernetes.io/controller: debug
|
|
app.kubernetes.io/instance: ntfy
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: ntfy
|
|
helm.sh/chart: ntfy-4.6.2
|
|
namespace: ntfy
|
|
spec:
|
|
revisionHistoryLimit: 3
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/controller: debug
|
|
app.kubernetes.io/name: ntfy
|
|
app.kubernetes.io/instance: ntfy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/controller: debug
|
|
app.kubernetes.io/instance: ntfy
|
|
app.kubernetes.io/name: ntfy
|
|
spec:
|
|
enableServiceLinks: false
|
|
serviceAccountName: default
|
|
automountServiceAccountToken: true
|
|
hostIPC: false
|
|
hostNetwork: false
|
|
hostPID: false
|
|
dnsPolicy: ClusterFirst
|
|
containers:
|
|
- command:
|
|
- sleep
|
|
- infinity
|
|
image: ubuntu:resolute-20260312
|
|
name: main
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 32Mi
|
|
volumeMounts:
|
|
- mountPath: /var/cache/ntfy
|
|
name: cache
|
|
readOnly: true
|
|
volumes:
|
|
- name: cache
|
|
persistentVolumeClaim:
|
|
claimName: ntfy
|