...
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: web
5 namespace: emojivoto
6spec:
7 replicas: 1
8 selector:
9 matchLabels:
10 app: web-svc
11 template:
12 metadata:
13 labels:
14 app: web-svc
15 spec:
16 containers:
17 - env:
18 - name: WEB_PORT
19 value: "80"
20 - name: EMOJISVC_HOST
21 value: emoji-svc.emojivoto:8080
22 - name: VOTINGSVC_HOST
23 value: voting-svc.emojivoto:8080
24 - name: INDEX_BUNDLE
25 value: dist/index_bundle.js
26 image: buoyantio/emojivoto-web:v10
27 name: web-svc
28 ports:
29 - containerPort: 80
30 name: http
31 - image: gcr.io/istio-release/proxyv2:1.0.2
32 name: istio-proxy
33 initContainers:
34 - image: gcr.io/istio-release/proxy_init:1.0.2
35 name: istio-init
36---
View as plain text