Deploy Thanos chain

In this step, we will deploy the Thanos chain. The Thanos stack is configured using a Helm chart for deployment convenience.

Add Helm Repository

  1. Add helm repo from tokamak-thanos-stack

    $ helm repo add thanos-stack <https://tokamak-network.github.io/tokamak-thanos-stack>
  2. You can check helm repo

    $ helm search repo thanos-stack
    
    NAME                            CHART VERSION   APP VERSION     DESCRIPTION
    thanos-stack/thanos-stack       {VERSION}                       A Helm chart to deploy Thanos stack
    thanos-stack/op-bridge          {VERSION}                       A Helm chart to deploy Optimistic bridge

Deploy Thanos chain

To deploy the Thanos chain using the Helm chart, you’ll need a file with the chart parameters. We’ll use the thanos-stack-values.yaml file created in step 3 to proceed with the deployment.

  1. Helm install

    $ helm install {YOUR_HELM_RELEASE_NAME} thanos-stack/thanos-stack \
    		--values thanos-stack-values.yaml \
    		--namespace {YOUR_NAMESPACE}

The namespace must be set to the Thanos stack name configured in step 3.

  1. Check pods.

  1. Check op-node logs. During the initial deployment, it synchronizes with the L1 chain, by the following logs.

Chain RPC

You can interact with the thanos chain through the address provided by Ingress.

  1. Get ingress

Last updated