Kubernetes Deployment

We've released a Helm chart to deploy Blockscout stack (backend, frontend and stats) to a kubernetes cluster.

Baseline instructions are available at https://github.com/blockscout/helm-charts/tree/main/charts/blockscout-stack.

Troubleshooting

  1. Check your values are correct, for example if you don't have Prometheus installed disable it here

  2. Ingress is disabled by default as is common practice, you will likely want to enable ingress and configure hostnames accordingly.

  3. Check your .yaml files for any unneeded whitespaces, this can impact functionality.

  4. Make sure env variables are declared correctly ie DATABASE_URL: “X”

  5. Frontend values should exist in their own root section, at the same level as blockscout values (and not nested within the blockscout root).

For example:

```yaml
blockscout:
  env:
    DATABASE_URL: "X"
    ETHEREUM_JSONRPC_VARIANT: geth
    ETHEREUM_JSONRPC_HTTP_URL: "X"
    ETHEREUM_JSONRPC_TRACE_URL: "X"
  ingress:
    enabled: true
    hostname: host-name.com
frontend:
  image:
    tag: latest
  ingress:
    enabled: true
```

Last updated

Logo

Copyright © Blockscout Limited 2023-2024