forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
solana-devnet.yaml
107 lines (107 loc) · 2.86 KB
/
solana-devnet.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
apiVersion: v1
kind: Service
metadata:
name: solana-devnet
labels:
app: solana-devnet
spec:
ports:
- port: 8899
name: rpc
protocol: TCP
- port: 9900
name: faucet
protocol: TCP
clusterIP: None
selector:
app: solana-devnet
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: solana-devnet
spec:
selector:
matchLabels:
app: solana-devnet
serviceName: solana-devnet
replicas: 1
template:
metadata:
labels:
app: solana-devnet
spec:
terminationGracePeriodSeconds: 1
containers:
- name: devnet
image: solana-contract
command:
- /root/.local/share/solana/install/active_release/bin/solana-test-validator
- --bpf-program
- Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o
- /opt/solana/deps/bridge.so
- --bpf-program
- B6RHG3mfcckmrYN1UhmJzyS1XX3fZKbkeUcpJe9Sy3FE
- /opt/solana/deps/token_bridge.so
- --bpf-program
- NFTWqJR8YnRVqPDvTJrYuLrQDitTG5AScqbeghi4zSA
- /opt/solana/deps/nft_bridge.so
- --bpf-program
- CP1co2QMMoDPbsmV7PGcUTLFwyhgCgTXt25gLQ5LewE1
- /opt/solana/deps/cpi_poster.so
- --bpf-program
- metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s
- /opt/solana/deps/mpl_token_metadata.so
- --bpf-program
- Ex9bCdVMSfx7EzB3pgSi2R4UHwJAXvTw18rBQm5YQ8gK
- /opt/solana/deps/wormhole_migration.so
# - --log
- -q
ports:
- containerPort: 8001
name: gossip
protocol: UDP
- containerPort: 8003
name: tpu
protocol: UDP
- containerPort: 8004
name: tpufwd
protocol: UDP
- containerPort: 8000
name: tvu
protocol: UDP
- containerPort: 8002
name: tvufwd
protocol: UDP
- containerPort: 8006
name: repair
protocol: UDP
- containerPort: 8007
name: serverepair
protocol: UDP
- containerPort: 8899
name: rpc
protocol: TCP
- containerPort: 8900
name: pubsub
protocol: TCP
- containerPort: 9900
name: faucet
protocol: TCP
readinessProbe:
httpGet:
port: rpc
path: /health
periodSeconds: 1
- name: setup
image: bridge-client
command:
- /bin/bash
- -c
- "cd /usr/src/solana && ./devnet_setup.sh"
readinessProbe:
tcpSocket:
port: 2000
periodSeconds: 1
failureThreshold: 300