-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsinusbot-deployment.yaml
More file actions
38 lines (38 loc) · 847 Bytes
/
Copy pathsinusbot-deployment.yaml
File metadata and controls
38 lines (38 loc) · 847 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: sinusbot
name: sinusbot
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: sinusbot
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: sinusbot
spec:
containers:
- image: sinusbot/docker
name: sinusbot
ports:
- containerPort: 8087
resources: {}
volumeMounts:
- mountPath: /opt/sinusbot/scripts
name: sinusbot-claim0
- mountPath: /opt/sinusbot/data
name: sinusbot-claim1
restartPolicy: Always
volumes:
- name: sinusbot-1
persistentVolumeClaim:
claimName: sinusbot-1
- name: sinusbot-2
persistentVolumeClaim:
claimName: sinusbot-2
status: {}