-
Notifications
You must be signed in to change notification settings - Fork 2
/
deployment.json
44 lines (44 loc) · 876 Bytes
/
deployment.json
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": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "dokuja"
},
"spec": {
"replicas": 1,
"template": {
"metadata": {
"labels": {
"app": "dokuja",
"tier": "backend"
}
},
"spec": {
"containers": [
{
"name": "dokuja",
"image": "dawan/dokuja",
"imagePullPolicy": "IfNotPresent",
"resources": {
"requests": {
"cpu": "100m",
"memory": "100Mi"
}
},
"env": [
{
"name": "GET_HOSTS_FROM",
"value": "dns"
}
],
"ports": [
{
"containerPort": 8080
}
]
}
]
}
}
}
}