blob: 2713a149ba6f0c6c236e274d984333ffcf5ee284 (
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
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nextcloud
namespace: personal-services
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: nextcloud
app.kubernetes.io/part-of: personal-services
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: nextcloud
app.kubernetes.io/part-of: personal-services
strategy:
type: RollingUpdate
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: nextcloud
app.kubernetes.io/part-of: personal-services
spec:
containers:
- image: nextcloud:27
name: nextcloud
ports:
- containerPort: 80
volumeMounts:
- mountPath: /var/www/html
name: data
restartPolicy: Always
volumes:
- name: data
hostPath:
path: /mnt/pool/nextcloud
type: Directory
...
|