-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgometalint-analyzer.yml
58 lines (58 loc) · 1.3 KB
/
gometalint-analyzer.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
apiVersion: v1
kind: Service
metadata:
name: lookout-gometalint-analyzer
labels:
app: gometalint-analyzer
release: lookout
spec:
type: ClusterIP
ports:
- port: 10303
targetPort: 10303
protocol: TCP
selector:
app: gometalint-analyzer
release: lookout
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: lookout-gometalint-analyzer
labels:
app: gometalint-analyzer
release: lookout
spec:
replicas: 1
selector:
matchLabels:
app: gometalint-analyzer
release: lookout
template:
metadata:
labels:
app: gometalint-analyzer
release: lookout
spec:
containers:
- name: gometalint-analyzer
image: "srcd/lookout-gometalint-analyzer:v0.0.3"
imagePullPolicy: Always
env:
- name: GOMETALINT_DATA_SERVICE_URL
value: "ipv4://lookout:10301"
- name: GOMETALINT_PORT
value: "10303"
- name: GOMETALINT_LOG_LEVEL
value: "debug"
ports:
- containerPort: 10303
protocol: TCP
livenessProbe:
tcpSocket:
port: 10303
readinessProbe:
tcpSocket:
port: 10303
nodeSelector:
srcd.host/type: worker