...
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 annotations:
14 linkerd.io/inject: disabled
15 labels:
16 app: web-svc
17 spec:
18 containers:
19 - env:
20 - name: WEB_PORT
21 value: "80"
22 - name: EMOJISVC_HOST
23 value: emoji-svc.emojivoto:8080
24 - name: VOTINGSVC_HOST
25 value: voting-svc.emojivoto:8080
26 - name: INDEX_BUNDLE
27 value: dist/index_bundle.js
28 image: buoyantio/emojivoto-web:v10
29 name: web-svc
30 ports:
31 - containerPort: 9100
32 hostPort: 9100
33 name: http
34---
View as plain text