This quick start guide creates a CosmosFullNode that runs as an RPC node for the Cosmos Hub.
You will need kuberentes nodes that can provide up to 32GB and 4CPU per replica. The following example deploys 2 replicas.
View docker images here.
# Deploy the latest release. Warning: May be a release candidate.
make deploy IMG="ghcr.io/strangelove-ventures/cosmos-operator:$(git describe --tags --abbrev=0)"
# Deploy a specific version
make deploy IMG="ghcr.io/strangelove-ventures/cosmos-operator:<version you choose>"
Helm chart coming soon.
View storage classes in your cluster:
kubectl get storageclass
Choose one that provides SSD. On GKE, we recommend premium-rwo
.
See "Recommended Version" on Minstcan.
Copy "Peers" -> "Seeds" on Minstcan.
We recommend Polkachu. Copy the URL of the Download link for the .tar.lz4
file.
Using the information from the previous steps, create a yaml file using the below template.
Then kubectl apply -f
the yaml file.
apiVersion: cosmos.strange.love/v1
kind: CosmosFullNode
metadata:
name: cosmoshub
namespace: default
spec:
chain:
app:
minGasPrice: 0.001uatom
binary: gaiad
chainID: cosmoshub-4
config:
seeds: <your seeds> # TODO
genesisURL: https://snapshots.polkachu.com/genesis/cosmos/genesis.json
network: mainnet
skipInvariants: true
snapshotURL: <your snapshot, probably from Polkachu> # TODO
podTemplate:
image: ghcr.io/strangelove-ventures/heighliner/gaia:<latest version of gaia> # TODO
resources:
requests:
memory: 16Gi
replicas: 2 # TODO change to 1 to use less resources
volumeClaimTemplate:
resources:
requests:
storage: 200Gi
storageClassName: <your chosen storage class> # TODO
Once created, monitor the pods in the default
namespace for any errors.