File tree Expand file tree Collapse file tree 3 files changed +149
-149
lines changed Expand file tree Collapse file tree 3 files changed +149
-149
lines changed Original file line number Diff line number Diff line change 1- apiVersion : extensions/v1beta1
2- kind : Deployment
3- metadata :
4- name : microservice-session-sample
5- labels :
6- app : microprofile-app
7- spec :
8- replicas : 1
9- template :
10- metadata :
11- labels :
12- name : session-deployment
13- spec :
14- containers :
15- - name : microservice-session
16- # change the image name
17- image : docker.io/ishangulhane/microservice-session
18- ports :
19- - containerPort : 9080
20- volumeMounts :
21- - name : keystore
22- mountPath : /etc/wlp/config/keystore
23- - name : truststore
24- mountPath : /etc/wlp/config/truststore
25- - name : liberty-config
26- mountPath : /config/configDropins
27- volumes :
28- - name : keystore
29- secret :
30- secretName : wlp-keystore
31- - name : truststore
32- secret :
33- secretName : wlp-truststore
34- - name : liberty-config
35- configMap :
36- name : liberty-config
37- items :
38- - key : keystore.xml
39- path : defaults/keystore.xml
40- - key : logging.xml
41- path : defaults/logging.xml
42- ---
43- apiVersion : v1
44- kind : Service
45- metadata :
46- name : session-service
47- labels :
48- app : microprofile-app
49- namespace : default
50- spec :
51- ports :
52- - port : 9080
53- targetPort : 9080
54- nodePort : 30053
55- selector :
56- name : session-deployment
57- type : NodePort
1+ apiVersion : extensions/v1beta1
2+ kind : Deployment
3+ metadata :
4+ name : microservice-session-sample
5+ labels :
6+ app : microprofile-app
7+ spec :
8+ replicas : 1
9+ template :
10+ metadata :
11+ labels :
12+ name : session-deployment
13+ spec :
14+ containers :
15+ - name : microservice-session
16+ # change the image name
17+ image : docker.io/ishangulhane/microservice-session
18+ ports :
19+ - containerPort : 9080
20+ volumeMounts :
21+ - name : keystore
22+ mountPath : /etc/wlp/config/keystore
23+ - name : truststore
24+ mountPath : /etc/wlp/config/truststore
25+ - name : liberty-config
26+ mountPath : /config/configDropins
27+ volumes :
28+ - name : keystore
29+ secret :
30+ secretName : wlp-keystore
31+ - name : truststore
32+ secret :
33+ secretName : wlp-truststore
34+ - name : liberty-config
35+ configMap :
36+ name : liberty-config
37+ items :
38+ - key : keystore.xml
39+ path : defaults/keystore.xml
40+ - key : logging.xml
41+ path : defaults/logging.xml
42+ ---
43+ apiVersion : v1
44+ kind : Service
45+ metadata :
46+ name : session-service
47+ labels :
48+ app : microprofile-app
49+ namespace : default
50+ spec :
51+ ports :
52+ - port : 9080
53+ targetPort : 9080
54+ nodePort : 30053
55+ selector :
56+ name : session-deployment
57+ type : NodePort
Original file line number Diff line number Diff line change 1- apiVersion : extensions/v1beta1
2- kind : Deployment
3- metadata :
4- name : microservice-vote-sample
5- labels :
6- app : microprofile-app
7- spec :
8- replicas : 1
9- template :
10- metadata :
11- labels :
12- name : vote-deployment
13- spec :
14- containers :
15- - name : microservice-vote
16- # change the image name
17- image : docker.io/ishangulhane/microservice-vote
18- ports :
19- - containerPort : 9080
20- volumeMounts :
21- - name : keystore
22- mountPath : /etc/wlp/config/keystore
23- - name : truststore
24- mountPath : /etc/wlp/config/truststore
25- - name : liberty-config
26- mountPath : /config/configDropins
27- volumes :
28- - name : keystore
29- secret :
30- secretName : wlp-keystore
31- - name : truststore
32- secret :
33- secretName : wlp-truststore
34- - name : liberty-config
35- configMap :
36- name : liberty-config
37- items :
38- - key : keystore.xml
39- path : defaults/keystore.xml
40- - key : logging.xml
41- path : defaults/logging.xml
42- ---
43- apiVersion : v1
44- kind : Service
45- metadata :
46- name : vote-service
47- labels :
48- app : microprofile-app
49- namespace : default
50- spec :
51- ports :
52- - port : 9080
53- targetPort : 9080
54- nodePort : 30055
55- selector :
56- name : vote-deployment
57- type : NodePort
1+ apiVersion : extensions/v1beta1
2+ kind : Deployment
3+ metadata :
4+ name : microservice-vote-sample
5+ labels :
6+ app : microprofile-app
7+ spec :
8+ replicas : 1
9+ template :
10+ metadata :
11+ labels :
12+ name : vote-deployment
13+ spec :
14+ containers :
15+ - name : microservice-vote
16+ # change the image name
17+ image : docker.io/ishangulhane/microservice-vote
18+ ports :
19+ - containerPort : 9080
20+ volumeMounts :
21+ - name : keystore
22+ mountPath : /etc/wlp/config/keystore
23+ - name : truststore
24+ mountPath : /etc/wlp/config/truststore
25+ - name : liberty-config
26+ mountPath : /config/configDropins
27+ volumes :
28+ - name : keystore
29+ secret :
30+ secretName : wlp-keystore
31+ - name : truststore
32+ secret :
33+ secretName : wlp-truststore
34+ - name : liberty-config
35+ configMap :
36+ name : liberty-config
37+ items :
38+ - key : keystore.xml
39+ path : defaults/keystore.xml
40+ - key : logging.xml
41+ path : defaults/logging.xml
42+ ---
43+ apiVersion : v1
44+ kind : Service
45+ metadata :
46+ name : vote-service
47+ labels :
48+ app : microprofile-app
49+ namespace : default
50+ spec :
51+ ports :
52+ - port : 9080
53+ targetPort : 9080
54+ nodePort : 30055
55+ selector :
56+ name : vote-deployment
57+ type : NodePort
Original file line number Diff line number Diff line change 1- apiVersion : extensions/v1beta1
2- kind : Deployment
3- metadata :
4- name : microservice-webapp-sample
5- labels :
6- app : microprofile-app
7- spec :
8- replicas : 1
9- template :
10- metadata :
11- labels :
12- name : webapp-deployment
13- spec :
14- containers :
15- - name : microservice-webapp
16- # change the image name
17- image : docker.io/ishangulhane/microservice-webapp
18- ports :
19- - containerPort : 9080
20- ---
21- apiVersion : v1
22- kind : Service
23- metadata :
24- name : webapp-service
25- labels :
26- app : microprofile-app
27- namespace : default
28- spec :
29- ports :
30- - port : 9080
31- targetPort : 9080
32- nodePort : 30051
33- selector :
34- name : webapp-deployment
35- type : NodePort
1+ apiVersion : extensions/v1beta1
2+ kind : Deployment
3+ metadata :
4+ name : microservice-webapp-sample
5+ labels :
6+ app : microprofile-app
7+ spec :
8+ replicas : 1
9+ template :
10+ metadata :
11+ labels :
12+ name : webapp-deployment
13+ spec :
14+ containers :
15+ - name : microservice-webapp
16+ # change the image name
17+ image : docker.io/ishangulhane/microservice-webapp
18+ ports :
19+ - containerPort : 9080
20+ ---
21+ apiVersion : v1
22+ kind : Service
23+ metadata :
24+ name : webapp-service
25+ labels :
26+ app : microprofile-app
27+ namespace : default
28+ spec :
29+ ports :
30+ - port : 9080
31+ targetPort : 9080
32+ nodePort : 30051
33+ selector :
34+ name : webapp-deployment
35+ type : NodePort
You can’t perform that action at this time.
0 commit comments