-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfast-tuesday.yml
100 lines (92 loc) · 1.73 KB
/
fast-tuesday.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
apiVersion: v1
kind: Service
metadata:
name: fast-tuesday-web
namespace: prod
spec:
ports:
- port: 5555
targetPort: 5555
selector:
app: fast-tuesday-web
---
apiVersion: v1
kind: Service
metadata:
name: fast-tuesday-db
namespace: prod
spec:
ports:
- port: 6379
targetPort: 6379
selector:
app: fast-tuesday-db
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: fast-tuesday-db
namespace: prod
spec:
revisionHistoryLimit: 0
selector:
matchLabels:
app: fast-tuesday-db
replicas: 1
template:
metadata:
name: fast-tuesday-db-pod
labels:
app: fast-tuesday-db
spec:
containers:
- name: fast-tuesday-db-container
image: redis/redis-stack
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: fast-tuesday-web
namespace: prod
spec:
revisionHistoryLimit: 0
selector:
matchLabels:
app: fast-tuesday-web
replicas: 1
template:
metadata:
name: fast-tuesday-web-pod
labels:
app: fast-tuesday-web
spec:
containers:
- name: fast-tuesday-web-container
image: fast-tuesday/web:latest
env:
- name: REDIS_HOST
value: "fast-tuesday-db"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: fast-tuesday-updater
namespace: prod
spec:
revisionHistoryLimit: 0
selector:
matchLabels:
app: fast-tuesday-updater
replicas: 1
template:
metadata:
name: fast-tuesday-updater-pod
labels:
app: fast-tuesday-updater
spec:
containers:
- name: fast-tuesday-updater-container
image: fast-tuesday/updater:latest
env:
- name: REDIS_HOST
value: "fast-tuesday-db"