How to

Prerequisites

Before installing CP, ensure the following prerequisites are met:

  • A public IP address is available

  • The IP address has a bound domain name

  • Go version 1.21+ is installed

  • Multiple hosts with NVIDIA GPUs are prepared


Install Kubernetes

To deploy Kubernetes v1.25.3, follow this guide: https://blog.csdn.net/m0_43445928/article/details/130524917

Alternative: Deploy Kubernetes using your preferred method.


Register CP on Web Interface

  1. Access Grid's official portal: https://grid.metamemo.one/

  2. Navigate to Grid Provider section

  3. Click Become A Provider

  4. Complete registration form with:

    • Provider name

    • Public IP address

    • Service port

    • Domain name


Add Nodes via Web Interface

  1. Go to Add Node page

  2. Configure node parameters:

  3. Node ID Assignment Rule: Node ID = Node Name Number - 1 Example: node-1 → ID 0 node-5 → ID 4


Configure Kubernetes Node Labels

Step 1: Retrieve Node ID

Check node ID in web interface's node details page.

Step 2: Apply Labels

Example for node gpu-server-1 with ID 3:


Build & Configure CP Backend

1. Compile from Source

2. Wallet Management

Import Existing Wallet

Create New Wallet


Gas Fee Recharge

Contact Grid administrators for blockchain gas fee top-up: admin@grid.metamemo.one


Configuration File Setup

Edit computing-api/bin/config.toml:


Service Startup

Start Backend Service

Monitor Logs

Verify Service Status


Troubleshooting

Issue
Solution

Wallet import failure

Verify SK format and file permissions

Node label mismatch

Confirm kubectl context is correct

Blockchain RPC errors

Check network connectivity

Last updated