forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspy-wallet-monitor.yaml
55 lines (55 loc) · 1.11 KB
/
spy-wallet-monitor.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-wallet-monitor
labels:
app: spy-wallet-monitor
spec:
clusterIP: None
selector:
app: spy-wallet-monitor
ports:
- port: 8084
name: prometheus
protocol: TCP
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: spy-wallet-monitor
spec:
selector:
matchLabels:
app: spy-wallet-monitor
serviceName: spy-wallet-monitor
replicas: 1
template:
metadata:
labels:
app: spy-wallet-monitor
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 0
containers:
- name: spy-wallet-monitor
image: spy-relay-image
env:
- name: LOG_LEVEL
value: warn
command:
- npm
- run
- --prefix
- /app
- tilt_wallet_monitor
ports:
- containerPort: 8084
name: prometheus
protocol: TCP
tty: true
readinessProbe:
tcpSocket:
port: 2000
periodSeconds: 1
failureThreshold: 300