-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrawler-deployment.yaml
38 lines (38 loc) · 993 Bytes
/
crawler-deployment.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: crawler
labels:
app: sitemap-generator
spec:
replicas: 2
template:
metadata:
name: crawler-pod
labels:
app: sitemap-generator
spec:
containers:
- name: crawler
image: yusufk53/crawler:latest
livenessProbe:
httpGet:
path: /_health
port: 5002
httpHeaders:
- name: Content-Type
value: application/json
- name: Accept
value: application/json
readinessProbe:
httpGet:
path: /_health
port: 5002
httpHeaders:
- name: Content-Type
value: application/json
- name: Accept
value: application/json
selector:
matchLabels:
app: sitemap-generator