-
Notifications
You must be signed in to change notification settings - Fork 690
/
query-server.yaml
73 lines (73 loc) · 1.77 KB
/
query-server.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
apiVersion: v1
kind: Service
metadata:
name: query-server
labels:
app: query-server
spec:
ports:
- name: rest
port: 6069
protocol: TCP
- name: status
port: 6068
protocol: TCP
selector:
app: query-server
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: query-server
spec:
selector:
matchLabels:
app: query-server
serviceName: query-server
replicas: 1
template:
metadata:
labels:
app: query-server
spec:
containers:
- name: query-server
image: guardiand-image
command:
- /guardiand
- query-server
- --env
- dev
- --nodeKey
- node/cmd/ccq/devnet.p2p.key
- --signerKey
- node/cmd/ccq/devnet.signing.key
- --listenAddr
- "[::]:6069"
- --statusAddr
- "[::]:6068"
- --permFile
- "node/cmd/ccq/devnet.permissions.json"
- --ethRPC
- http://eth-devnet:8545
- --ethContract
- "0xC89Ce4735882C9F0f0FE26686c53074E09B0D550"
- --network
- /wormhole/dev
# Hardcoded devnet bootstrap (generated from deterministic key in guardiand)
- --bootstrap
- /dns4/guardian-0.guardian/udp/8996/quic/p2p/12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw
- --logLevel=warn
- --shutdownDelay1
- "0"
ports:
- containerPort: 6069
name: rest
protocol: TCP
- containerPort: 6068
name: status
protocol: TCP
readinessProbe:
httpGet:
port: status
path: /health