-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patharticle-downloader.yml
More file actions
40 lines (33 loc) · 936 Bytes
/
Copy patharticle-downloader.yml
File metadata and controls
40 lines (33 loc) · 936 Bytes
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: article-downloader
spec:
replicas: 3
selector:
matchLabels:
app: article-downloader
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
template:
metadata:
labels:
app: article-downloader
tier: backend
persistance: disposable
project: news
spec:
containers:
- name: article-downloader
image: joapfel/articledownloader:0.03
imagePullPolicy: Always
env:
- name: agt-article-redis-url
value: agt-article-redis.default.svc.cluster.local
- name: lq-redis-url
value: lq-redis.default.svc.cluster.local
- name: pq-redis-url
value: pq-redis.default.svc.cluster.local