2020-08-15 14:54:44 -07:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: solana-devnet
|
|
|
|
labels:
|
|
|
|
app: solana-devnet
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 8899
|
|
|
|
name: rpc
|
|
|
|
protocol: TCP
|
2020-08-16 04:21:10 -07:00
|
|
|
- port: 9900
|
|
|
|
name: faucet
|
|
|
|
protocol: TCP
|
|
|
|
clusterIP: None
|
|
|
|
selector:
|
|
|
|
app: solana-devnet
|
|
|
|
---
|
2020-08-15 14:54:44 -07:00
|
|
|
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:
|
2020-08-22 01:52:51 -07:00
|
|
|
- name: devnet
|
2021-04-07 11:16:19 -07:00
|
|
|
image: solana-contract
|
|
|
|
command:
|
|
|
|
- /root/.local/share/solana/install/active_release/bin/solana-test-validator
|
|
|
|
- --bpf-program
|
|
|
|
- Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o
|
2021-06-22 11:09:38 -07:00
|
|
|
- /opt/solana/deps/bridge.so
|
2021-07-27 13:20:23 -07:00
|
|
|
- --bpf-program
|
|
|
|
- B6RHG3mfcckmrYN1UhmJzyS1XX3fZKbkeUcpJe9Sy3FE
|
|
|
|
- /opt/solana/deps/token_bridge.so
|
2021-07-29 05:32:59 -07:00
|
|
|
- --bpf-program
|
2021-08-31 01:28:51 -07:00
|
|
|
- NFTWqJR8YnRVqPDvTJrYuLrQDitTG5AScqbeghi4zSA
|
|
|
|
- /opt/solana/deps/nft_bridge.so
|
|
|
|
- --bpf-program
|
2021-07-29 05:32:59 -07:00
|
|
|
- CP1co2QMMoDPbsmV7PGcUTLFwyhgCgTXt25gLQ5LewE1
|
|
|
|
- /opt/solana/deps/cpi_poster.so
|
2021-08-11 07:10:47 -07:00
|
|
|
- --bpf-program
|
|
|
|
- metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s
|
2023-05-15 12:55:03 -07:00
|
|
|
- /opt/solana/deps/mpl_token_metadata.so
|
2021-08-04 07:33:14 -07:00
|
|
|
- --bpf-program
|
2021-09-09 13:09:01 -07:00
|
|
|
- Ex9bCdVMSfx7EzB3pgSi2R4UHwJAXvTw18rBQm5YQ8gK
|
|
|
|
- /opt/solana/deps/wormhole_migration.so
|
2022-10-26 17:51:48 -07:00
|
|
|
# - --log
|
|
|
|
- -q
|
2020-08-15 14:54:44 -07:00
|
|
|
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
|
2020-08-16 04:21:10 -07:00
|
|
|
- containerPort: 9900
|
|
|
|
name: faucet
|
|
|
|
protocol: TCP
|
2020-11-27 16:33:57 -08:00
|
|
|
readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
port: rpc
|
|
|
|
path: /health
|
2021-07-28 05:13:45 -07:00
|
|
|
periodSeconds: 1
|
2020-08-22 01:52:51 -07:00
|
|
|
- name: setup
|
2021-08-04 04:46:07 -07:00
|
|
|
image: bridge-client
|
2020-08-22 01:52:51 -07:00
|
|
|
command:
|
2023-05-19 17:34:06 -07:00
|
|
|
- /bin/bash
|
|
|
|
- -c
|
|
|
|
- "cd /usr/src/solana && ./devnet_setup.sh"
|
2021-07-28 05:13:45 -07:00
|
|
|
readinessProbe:
|
2020-11-27 16:33:57 -08:00
|
|
|
tcpSocket:
|
|
|
|
port: 2000
|
|
|
|
periodSeconds: 1
|
|
|
|
failureThreshold: 300
|