...
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: controller
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---
32apiVersion: apps/v1
33kind: Deployment
34metadata:
35 name: not-controller
36 namespace: linkerd
37spec:
38 replicas: 1
39 selector:
40 matchLabels:
41 app: web-svc
42 template:
43 metadata:
44 labels:
45 app: web-svc
46 spec:
47 containers:
48 - env:
49 - name: WEB_PORT
50 value: "80"
51 - name: EMOJISVC_HOST
52 value: emoji-svc.emojivoto:8080
53 - name: VOTINGSVC_HOST
54 value: voting-svc.emojivoto:8080
55 - name: INDEX_BUNDLE
56 value: dist/index_bundle.js
57 image: buoyantio/emojivoto-web:v10
58 name: web-svc
59 ports:
60 - containerPort: 80
61 name: http
62---
View as plain text