forked from arquillian/arquillian-cube
/
hello-openshift.json
61 lines (61 loc) · 1.29 KB
/
hello-openshift.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"apiVersion" : "v1",
"kind" : "List",
"items" : [ {
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"name" : "hello-world"
},
"spec" : {
"ports" : [ {
"port" : 8080,
"protocol" : "TCP",
"targetPort" : 8080
} ],
"selector" : {
"app" : "hello-world"
}
}
}, {
"apiVersion" : "extensions/v1beta1",
"kind" : "Deployment",
"metadata" : {
"name" : "hello-world"
},
"spec" : {
"replicas" : 1,
"selector" : {
"matchLabels": {
"app": "hello-world"
}
},
"template" : {
"metadata" : {
"labels" : {
"app" : "hello-world"
}
},
"spec" : {
"containers" : [ {
"image" : "openshift/hello-openshift:v3.6.0",
"imagePullPolicy": "IfNotPresent",
"name" : "hello-world-container",
"ports" : [ {
"name" : "http",
"protocol" : "TCP",
"containerPort" : 8080
} ],
"readinessProbe": {
"httpGet": {
"path": "/",
"port": 8080
},
"initialDelaySeconds": 1
}
} ]
}
}
}
}]
}