Skip to main content

Polkadot Project

Background

Infrastructure team is running several infrastructure components of Polkadot and Kusama Mainnet. These are network critical services and require high availability and responsive monitoring.

List of Services

Deployment or Upgrade Steps

We use Ansible to deploy the services in a containerized environment. Once the server is initialized, we use the same command for the first time deployment and subsequent upgrades.

Deployment type: Recreate

  1. Get the latest image tag from here
  2. Update the tag for the respective host in polkadot-execution.
  3. If it is a snapshot host, make sure the snapshot service is not running and there is no active export process.
  4. Dry-Run the respective ansible command with --diff --check to make sure what changes will be applied.
  5. Re-run the actual command to apply the changes.
  6. Check the deployment and make sure the service is up.
  7. Raise the PR and ask the team for approval.

Runbook for Troubleshooting

We track actionable alerts, and each alert has steps to fix them.

Checkout Polkadot runbook here.