This repository has been archived by the owner on Jun 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterview.yml
102 lines (101 loc) · 1.69 KB
/
interview.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
apiVersion: v1
kind: Service
metadata:
labels:
name: autocomplete
name: autocomplete
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: autocomplete
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: autocomplete
spec:
selector:
matchLabels:
app: autocomplete
template:
metadata:
labels:
app: autocomplete
spec:
containers:
- name: autocomplete
image: mattsday/autocomplete:latest
ports:
- containerPort: 8080
resources:
requests:
memory: 2Gi
---
apiVersion: v1
kind: Service
metadata:
labels:
name: autocomplete-map
name: autocomplete-map
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: autocomplete-map
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: autocomplete-map
spec:
selector:
matchLabels:
app: autocomplete-map
template:
metadata:
labels:
app: autocomplete-map
spec:
containers:
- name: autocomplete-map
image: mattsday/autocomplete-map:latest
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
labels:
name: presentation
name: presentation
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: presentation
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: presentation
spec:
selector:
matchLabels:
app: presentation
template:
metadata:
labels:
app: presentation
spec:
containers:
- name: presentation
image: mattsday/presentation:latest
ports:
- containerPort: 8080