-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathflake8-analyzer.yml
More file actions
58 lines (58 loc) · 1.25 KB
/
flake8-analyzer.yml
File metadata and controls
58 lines (58 loc) · 1.25 KB
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-flake8-analyzer
labels:
app: flake8-analyzer
release: lookout
spec:
type: ClusterIP
ports:
- port: 10304
targetPort: 10304
protocol: TCP
selector:
app: flake8-analyzer
release: lookout
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: lookout-flake8-analyzer
labels:
app: flake8-analyzer
release: lookout
spec:
replicas: 1
selector:
matchLabels:
app: flake8-analyzer
release: lookout
template:
metadata:
labels:
app: flake8-analyzer
release: lookout
spec:
containers:
- name: flake8-analyzer
image: "srcd/lookout-flake8-analyzer:v0.0.1"
imagePullPolicy: Always
env:
- name: FLAKE8_DATA_SERVICE_URL
value: "ipv4://lookout:10301"
- name: FLAKE8_PORT
value: "10304"
- name: FLAKE8_LOG_LEVEL
value: "debug"
ports:
- containerPort: 10304
protocol: TCP
livenessProbe:
tcpSocket:
port: 10304
readinessProbe:
tcpSocket:
port: 10304
nodeSelector:
srcd.host/type: worker