File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ configMapGenerator:
2727 - QUICKPIZZA_CATALOG_ENDPOINT=http://quickpizza-catalog:3333
2828 - QUICKPIZZA_COPY_ENDPOINT=http://quickpizza-copy:3333
2929 - QUICKPIZZA_WS_ENDPOINT=http://quickpizza-ws:3333
30- - QUICKPIZZA_RECOMMENDATIONS_ENDPOINT=http://quickpizza-recs :3333
30+ - QUICKPIZZA_RECOMMENDATIONS_ENDPOINT=http://quickpizza-recommendations :3333
3131 - QUICKPIZZA_CONFIG_ENDPOINT=http://quickpizza-config:3333
Original file line number Diff line number Diff line change 3535 name : quickpizza-env-common
3636 - configMapRef :
3737 name : quickpizza-env
38+ optional : true
3839 env :
3940 - name : QUICKPIZZA_FRONTEND
4041 value : " 1"
7677 name : quickpizza-env-common
7778 - configMapRef :
7879 name : quickpizza-env
80+ optional : true
7981 env :
8082 - name : QUICKPIZZA_CONFIG
8183 value : " 1"
@@ -117,6 +119,7 @@ spec:
117119 name : quickpizza-env-common
118120 - configMapRef :
119121 name : quickpizza-env
122+ optional : true
120123 env :
121124 - name : QUICKPIZZA_WS
122125 value : " 1"
@@ -158,6 +161,7 @@ spec:
158161 name : quickpizza-env-common
159162 - configMapRef :
160163 name : quickpizza-env
164+ optional : true
161165 env :
162166 - name : QUICKPIZZA_CATALOG
163167 value : " 1"
@@ -199,30 +203,31 @@ spec:
199203 name : quickpizza-env-common
200204 - configMapRef :
201205 name : quickpizza-env
206+ optional : true
202207 env :
203208 - name : QUICKPIZZA_COPY
204209 value : " 1"
205210---
206211apiVersion : apps/v1
207212kind : Deployment
208213metadata :
209- name : quickpizza-recs
214+ name : quickpizza-recommendations
210215 labels :
211216 app.k8s.io/name : quickpizza
212217 app.kubernetes.io/component : service
213- app.kubernetes.io/instance : recs
218+ app.kubernetes.io/instance : recommendations
214219spec :
215220 replicas : 1
216221 selector :
217222 matchLabels :
218223 app.k8s.io/name : quickpizza
219- app.kubernetes.io/instance : recs
224+ app.kubernetes.io/instance : recommendations
220225 template :
221226 metadata :
222- name : quickpizza-recs
227+ name : quickpizza-recommendations
223228 labels :
224229 app.k8s.io/name : quickpizza
225- app.kubernetes.io/instance : recs
230+ app.kubernetes.io/instance : recommendations
226231 spec :
227232 restartPolicy : Always
228233 containers :
Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ spec:
7373apiVersion : v1
7474kind : Service
7575metadata :
76- name : quickpizza-recs
76+ name : quickpizza-recommendations
7777spec :
7878 type : ClusterIP
7979 selector :
8080 app.k8s.io/name : quickpizza
81- app.kubernetes.io/instance : recs
81+ app.kubernetes.io/instance : recommendations
8282 ports :
8383 - protocol : TCP
8484 port : 3333
You can’t perform that action at this time.
0 commit comments