forked from Azure/kubernetes-hackfest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice-tracker-ui.yaml
40 lines (40 loc) · 1.16 KB
/
service-tracker-ui.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
apiVersion: apps/v1
kind: Deployment
metadata:
name: service-tracker-ui-aci
spec:
replicas: 3
selector:
matchLabels:
app: service-tracker-ui
template:
metadata:
labels:
app: service-tracker-ui
spec:
containers:
- image: chzbrgr71/service-tracker-ui:1.0
imagePullPolicy: Always
name: service-tracker-ui
env:
- name: FLIGHT_API_ROOT
value: http://flights-api.hackfest.svc.cluster.local:3003/
- name: WEATHER_API_ROOT
value: http://weather-api.hackfest.svc.cluster.local:3015/
- name: QUAKES_API_ROOT
value: http://quakes-api.hackfest.svc.cluster.local:3012/
- name: APPINSIGHTS_INSTRUMENTATIONKEY
value: <INSERT INSTRUMENTATION KEY>
ports:
- containerPort: 3009
protocol: TCP
restartPolicy: Always
nodeSelector:
kubernetes.io/role: agent
beta.kubernetes.io/os: linux
type: virtual-kubelet
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
- key: azure.com/aci
effect: NoSchedule