forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spy-listener.yaml
55 lines (55 loc) · 1.09 KB
/
spy-listener.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
---
apiVersion: v1
kind: Service
metadata:
name: spy-listener
labels:
app: spy-listener
spec:
clusterIP: None
selector:
app: spy-listener
ports:
- port: 8082
name: prometheus
protocol: TCP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: spy-listener
spec:
selector:
matchLabels:
app: spy-listener
serviceName: spy-listener
replicas: 1
template:
metadata:
labels:
app: spy-listener
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 0
containers:
- name: spy-listener
image: spy-relay-image
command:
- npm
- run
- --prefix
- /app/relayer/spy_relayer/
- tilt_listener
tty: true
readinessProbe:
tcpSocket:
port: 2000
periodSeconds: 1
failureThreshold: 300
ports:
- containerPort: 4201
name: rest
protocol: TCP
- containerPort: 8082
name: prometheus
protocol: TCP