blob: 53df5600bf837232ffca32d295d045009e35a441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ntfy
namespace: personal-services
spec:
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: ntfy
app.kubernetes.io/part-of: personal-services
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: ntfy
app.kubernetes.io/part-of: personal-services
spec:
containers:
- name: ntfy
image: binwiederhier/ntfy
args: ["serve"]
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 80
name: http
volumeMounts:
- name: config
mountPath: "/etc/ntfy"
readOnly: true
- name: data
mountPath: /var/lib/ntfy
resources:
requests:
memory: 12Mi
limits:
memory: 32Mi
volumes:
- name: config
configMap:
name: ntfy-config
- name: data
persistentVolumeClaim:
claimName: ntfy-data
...
|