-
Notifications
You must be signed in to change notification settings - Fork 2
/
rssreader-kieker.yaml
186 lines (186 loc) · 3.25 KB
/
rssreader-kieker.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
apiVersion: v1
kind: Service
metadata:
name: cassandra
labels:
name: cassandra
spec:
type: NodePort
ports:
- port: 9042
name: cql
nodePort: 31002
- port: 9160
name: thrift
nodePort: 31003
selector:
name: cassandra
---
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: cassandra
name: cassandra
spec:
replicas: 1
selector:
name: cassandra
template:
metadata:
labels:
name: cassandra
spec:
containers:
- command:
- /run.sh
resources:
limits:
cpu: 0.5
env:
- name: MAX_HEAP_SIZE
value: 512M
- name: HEAP_NEWSIZE
value: 100M
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: gcr.io/google_containers/cassandra:v5
name: cassandra
ports:
- containerPort: 9042
name: cql
- containerPort: 9160
name: thrift
volumeMounts:
- mountPath: /cassandra_data
name: data
volumes:
- name: data
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: middletier
labels:
name: middletier
spec:
type: NodePort
ports:
- port: 9191
nodePort: 31001
name: http
selector:
name: middletier
---
apiVersion: v1
kind: ReplicationController
metadata:
name: middletier
labels:
name: middletier
spec:
replicas: 1
selector:
name: middletier
template:
metadata:
labels:
name: middletier
spec:
containers:
- name: middletier
image: hora/recipes-rss-middletier-kieker:0.4
imagePullPolicy: Always
ports:
- containerPort: 9191
resources:
requests:
cpu: "0.5"
memory: 700M
limits:
cpu: "1"
memory: 2000M
---
apiVersion: v1
kind: Service
metadata:
name: edge
labels:
name: edge
spec:
type: NodePort
ports:
- port: 9090
name: http
nodePort: 31000
selector:
name: edge
---
apiVersion: v1
kind: ReplicationController
metadata:
name: edge
labels:
name: edge
spec:
replicas: 1
selector:
name: edge
template:
metadata:
labels:
name: edge
spec:
containers:
- name: edge
image: hora/recipes-rss-edge-kieker:0.4
imagePullPolicy: Always
ports:
- containerPort: 9090
resources:
requests:
cpu: "0.5"
memory: 500M
limits:
cpu: "1"
memory: 2000M
---
apiVersion: v1
kind: Service
metadata:
name: rssserver
labels:
name: rssserver
spec:
type: NodePort
ports:
- port: 80
name: http
nodePort: 31040
selector:
name: rssserver
---
apiVersion: v1
kind: ReplicationController
metadata:
name: rssserver
labels:
name: rssserver
spec:
replicas: 1
selector:
name: rssserver
template:
metadata:
labels:
name: rssserver
spec:
containers:
- name: rssserver
image: hora/recipes-rss-rssserver:0.1
imagePullPolicy: Always
ports:
- containerPort: 80