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