...
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 labels:
5 app.kubernetes.io/name: vote-bot
6 app.kubernetes.io/part-of: emojivoto
7 app.kubernetes.io/version: v10
8 name: vote-bot
9spec:
10 replicas: 1
11 selector:
12 matchLabels:
13 app: vote-bot
14 version: v10
15 template:
16 metadata:
17 annotations:
18 linkerd.io/inject: enabled
19 labels:
20 app: vote-bot
21 version: v10
22 spec:
23 containers:
24 - command:
25 - emojivoto-vote-bot
26 env:
27 - name: WEB_HOST
28 value: web-svc-target:80
29 image: buoyantio/emojivoto-web:v10
30 name: vote-bot
31 resources:
32 requests:
33 cpu: 10m
View as plain text