You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/block-node/operations/solo-weaver-single-node-k8s-deployment.md
+59-30Lines changed: 59 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Solo Weaver Single Node Kubernetes Deployment Guide
2
2
3
-
# Overview
3
+
##Overview
4
4
5
5
This guide explains how to deploy the Hiero Block Node on a Google Cloud Platform (GCP) virtual machine (VM) using the Solo Weaver tool.
6
6
The Block Node supports the Hiero network by processing and validating consensus node produced blocks amongst others features.
@@ -10,7 +10,7 @@ This guide walks you through creating the VM, uploading the Weaver binary to it,
10
10
11
11
While this guide focuses on GCP, node operators can deploy the Block Node on any cloud provider of their choice by following equivalent provisioning and deployment steps.
12
12
13
-
# Prerequisites
13
+
##Prerequisites
14
14
15
15
Before you begin, ensure you have:
16
16
@@ -20,9 +20,9 @@ Before you begin, ensure you have:
20
20
-**`weaver-linux-arm64`** for ARM-based VMs.
21
21
- The **`gcloud`** CLI installed and authenticated (if using Google Cloud).
22
22
23
-
# Step-by-Step Guide
23
+
##Step-by-Step Guide
24
24
25
-
## Step 1: Create a Google Cloud VM
25
+
###Step 1: Create a Google Cloud VM
26
26
27
27
1. In the [**Google Cloud Console**](https://console.cloud.google.com/), click **Select a project** at the top of the page.
28
28
2. Choose an existing project. If you don’t have a project, click **New project** in the popup window and follow the prompts to create one.
@@ -36,7 +36,7 @@ Before you begin, ensure you have:
36
36
8. Click **Create** to launch the VM.
37
37
9. Wait until the instance status is **Running** before proceeding.
38
38
39
-
## Step 2: Upload Weaver to the VM
39
+
###Step 2: Upload Weaver to the VM
40
40
41
41
1. Download the appropriate Weaver binary to your local machine (see [Prerequisites](https://www.notion.so/Hiero-Block-Node-Cloud-Deployment-Guide-2b77c9ab259180fa9cc0e111cf9f77d0?pvs=21) for the correct file).
42
42
2. In the Google Cloud Console, open your VM’s details page.
@@ -60,7 +60,7 @@ Before you begin, ensure you have:
60
60
7. Run the command to upload the file.
61
61
8. When complete, the Weaver binary will be available on your VM at the specified path. (e.g., at **`/home/<USER>/weaver`).**
62
62
63
-
## Step 3: Connect to VM and Prepare Weaver
63
+
###Step 3: Connect to VM and Prepare Weaver
64
64
65
65
1. SSH into your VM:
66
66
- Use the **SSH** button in the Google Cloud Console (browser window), or
@@ -88,29 +88,60 @@ Before you begin, ensure you have:
88
88
89
89
If the binary runs and prints usage or help text, Weaver is correctly installed on the VM.
90
90
91
-
## Step 4: Create the **`weaver`** User
91
+
### Step 4: Create the **`weaver`** User
92
92
93
-
1. Run the Block Node setupcommand with **`sudo`** and the desired profile (choose one of: **`local`**, **`testnet`**, **`previewnet`**, **`mainnet`**):
93
+
1. Run the Block Node installcommand with **`sudo`** and the desired profile (choose one of: **`local`**, **`testnet`**, **`previewnet`**, **`mainnet`**):
**Note:****`blocknode setup`** is **deprecated**. Use **`blocknode install`** for all Weaver v0.3.0+ deployments [**Solo Weaver v0.3.0**](https://github.com/hashgraph/solo-weaver/releases/tag/v0.3.0).
143
+
144
+
### Step 5: Run Block Node Setup with the Local Profile
114
145
115
146
1. Ensure you are on the VM and the **`weaver`** binary is executable.
116
147
2. Run the Block Node setup with **`sudo`** and the local profile:
@@ -129,7 +160,7 @@ Once complete, Weaver will be able to manage Kubernetes resources on your VM usi
129
160
- Deploy the Block Node Helm chart into the cluster.
130
161
4. The process takes several minutes and will show progress logs in your terminal.
131
162
132
-
## Step 6: Verify the Block Node Deployment
163
+
### Step 6: Verify the Block Node Deployment
133
164
134
165
After completing the setup, confirm that your Block Node is deployed and running by checking the Kubernetes cluster:
135
166
@@ -153,27 +184,25 @@ After completing the setup, confirm that your Block Node is deployed and running
153
184
154
185
If the pods are running and healthy, your Block Node is successfully installed and running on the Google Cloud VM.
155
186
156
-
## Step 7: Test Block Node Accessibility with grpcurl
187
+
### Step 7: Test Block Node Accessibility with grpcurl
157
188
158
189
1. **Install grpcurl** using the package manager of your system:
159
-
- Debian/Ubuntu: **`apt-get install grpcurl`**
160
-
- macOS: **`brew install grpcurl`**
161
-
- Other systems: Download from [**grpcurl releases**](https://github.com/fullstorydev/grpcurl/releases)
190
+
- Debian/Ubuntu: **`apt-get install grpcurl`**
191
+
- macOS: **`brew install grpcurl`**
192
+
- Other systems: Download from [**grpcurl releases**](https://github.com/fullstorydev/grpcurl/releases)
162
193
2. **Download the latest protobuf files** from the official release:
0 commit comments