mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
09a95c9bd2
Also updates README to note prior unnoted folders.
1.2 KiB
1.2 KiB
Kubernetes
Run with Kubernetes
Running the Serai infrastructure is easy with Kubernetes.
We utilize Makefile to easily orchestrate various pieces of the infrastructure on kubernetes.
Example to deploy: make deploy-<Profile_Name>
make deploy-cluster-sm
Example to delete: make -i delete-<Profile_Name>
make delete-cluster-sm
All commands are assumed to be ran from the kubernetes folder, not the serai root folder.
Profiles:
- deploy-base - single node, named base
- deploy-coins - node clients for coins only (BTC, ETH, XMR)
- deploy-cluster-sm - Alice (Validator), Bob, Charlie
- deploy-cluster-coins-sm - cluster-sm with coins
- deploy-cluster-lg - Alice (Validator), Bob, Charlie, Dave, Eve, Ferdie
- deploy-cluster-coins-lg - cluster-lg with coins
- deploy-monero - full node monero only
- deploy-bitcoin - full node bitcoin only
- deploy-ethereum - full node ethereum only
Requirements for Linux
- Local built images of serai and coins, please follow the Instructions here
- Running kubernetes cluster (version >= 1.19)
- Curl tool
- Make tool
- Kubectl, check if not installed
make check-kubectl
- Helm, check if not installed
make check-helm