repo.or.cz
/
waspsaliva.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
optimize: remove noBurning
[waspsaliva.git]
/
misc
/
kubernetes.yml
blob
1a956abe9998ca574f3418dad33e9952883a4e1a
1
---
2
apiVersion: extensions/v1beta1
3
kind: Deployment
4
metadata:
5
labels:
6
app: minetest
7
name: minetest
8
namespace: default
9
spec:
10
selector:
11
matchLabels:
12
app: minetest
13
template:
14
metadata:
15
labels:
16
app: minetest
17
spec:
18
containers:
19
- image: registry.gitlab.com/minetest/minetest/server:master
20
name: minetest
21
ports:
22
- containerPort: 30000
23
protocol: UDP
24
volumeMounts:
25
- mountPath: /var/lib/minetest
26
name: minetest-data
27
- mountPath: /etc/minetest
28
name: config
29
restartPolicy: Always
30
volumes:
31
- name: minetest-data
32
persistentVolumeClaim:
33
claimName: minetest-data
34
- configMap:
35
defaultMode: 420
36
name: minetest
37
name: config
38
---
39
apiVersion: v1
40
kind: Service
41
metadata:
42
labels:
43
app: minetest
44
name: minetest
45
namespace: default
46
spec:
47
ports:
48
- name: minetest
49
port: 30000
50
protocol: UDP
51
selector:
52
app: minetest
53
type: NodePort