File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ metadata :
5
+ labels :
6
+ app : goof
7
+ name : goof
8
+ namespace : default
9
+ spec :
10
+ replicas : 1
11
+ selector :
12
+ matchLabels :
13
+ app : goof
14
+ template :
15
+ metadata :
16
+ labels :
17
+ app : goof
18
+ spec :
19
+ containers :
20
+ - image : ${DOCKER_ACCOUNT}/java-goof:latest
21
+ imagePullPolicy : Always
22
+ name : java-goof
23
+ securityContext :
24
+ readOnlyRootFilesystem : true
25
+ volumeMounts :
26
+ - mountPath : /usr/local/tomcat/temp
27
+ name : tomcat-temp
28
+ - mountPath : /usr/local/tomcat/work
29
+ name : tomcat-work
30
+ - mountPath : /usr/local/tomcat/logs
31
+ name : tomcat-logs
32
+ restartPolicy : Always
33
+ volumes :
34
+ - name : tomcat-temp
35
+ emptyDir : {}
36
+ - name : tomcat-work
37
+ emptyDir : {}
38
+ - name : tomcat-logs
39
+ emptyDir : {}
40
+
41
+ ---
42
+ apiVersion : v1
43
+ kind : Service
44
+ metadata :
45
+ labels :
46
+ app : goof
47
+ name : goof
48
+ spec :
49
+ type : LoadBalancer
50
+ ports :
51
+ - port : 80
52
+ protocol : TCP
53
+ targetPort : 8080
54
+ selector :
55
+ app : goof
You can’t perform that action at this time.
0 commit comments