@@ -75,7 +75,6 @@ Then run the following command to set the kubectl context to the new cluster:
75
75
``` bash
76
76
kind create cluster -n " ${SOLO_CLUSTER_NAME} "
77
77
```
78
-
79
78
Example output
80
79
81
80
```
@@ -91,7 +90,7 @@ You can now use your cluster with:
91
90
92
91
kubectl cluster-info --context kind-solo
93
92
94
- Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/
93
+ Have a nice day! 👋
95
94
```
96
95
97
96
You may now view pods in your cluster using ` k9s -A ` as below:
@@ -179,13 +178,12 @@ Kubernetes Namespace : solo
179
178
✔ Clean up temp files
180
179
✔ Generate gossip keys
181
180
✔ Backup old files
181
+ ✔ TLS key for node: node0
182
182
✔ TLS key for node: node1
183
183
✔ TLS key for node: node2
184
- ✔ TLS key for node: node0
185
184
✔ Generate gRPC TLS keys
186
185
✔ Finalize
187
186
```
188
-
189
187
Key files are generated in ` ~/.solo/keys ` directory.
190
188
191
189
```
@@ -194,7 +192,6 @@ $ ls ~/.solo/cache/keys
194
192
hedera-node0.crt hedera-node1.crt hedera-node2.crt private-node0.pfx private-node2.pfx
195
193
hedera-node0.key hedera-node1.key hedera-node2.key private-node1.pfx public.pfx
196
194
```
197
-
198
195
* Setup cluster with shared components
199
196
* In a separate terminal, you may run ` k9s ` to view the pod status.
200
197
@@ -217,6 +214,7 @@ Kubernetes Namespace : solo
217
214
✔ Install 'fullstack-cluster-setup' chart
218
215
```
219
216
217
+
220
218
* Deploy helm chart with Hedera network components
221
219
* It may take a while (5~ 15 minutes depending on your internet speed) to download various docker images and get the pods started.
222
220
* If it fails, ensure you have enough resources allocated for Docker engine and retry the command.
@@ -241,11 +239,11 @@ Kubernetes Namespace : solo
241
239
✔ Check Node: node1
242
240
✔ Check Node: node2
243
241
✔ Check node pods are running
244
- ✔ Check Envoy Proxy for: node0
245
242
✔ Check Envoy Proxy for: node2
243
+ ✔ Check Envoy Proxy for: node0
246
244
✔ Check Envoy Proxy for: node1
247
- ✔ Check HAProxy for: node0
248
245
✔ Check HAProxy for: node1
246
+ ✔ Check HAProxy for: node0
249
247
✔ Check HAProxy for: node2
250
248
✔ Check proxy pods are running
251
249
✔ Check MinIO
@@ -270,18 +268,18 @@ Kubernetes Cluster : kind-solo
270
268
Kubernetes Namespace : solo
271
269
**********************************************************************************
272
270
✔ Initialize
273
- ✔ Check network pod: node1
274
271
✔ Check network pod: node0
272
+ ✔ Check network pod: node1
275
273
✔ Check network pod: node2
276
274
✔ Identify network pods
277
275
✔ Copy configuration files
278
276
✔ Copy Gossip keys to staging
279
277
✔ Copy gRPC TLS keys to staging
280
278
✔ Prepare config.txt for the network
281
279
✔ Prepare staging directory
282
- ✔ Update node: node1
283
280
✔ Update node: node0
284
281
✔ Update node: node2
282
+ ✔ Update node: node1
285
283
✔ Fetch platform software into network nodes
286
284
✔ Copy Gossip keys
287
285
✔ Copy Gossip keys
@@ -293,11 +291,11 @@ Kubernetes Namespace : solo
293
291
✔ Copy configuration files
294
292
✔ Copy configuration files
295
293
✔ Set file permissions
296
- ✔ Node: node0
297
- ✔ Set file permissions
298
294
✔ Node: node2
299
295
✔ Set file permissions
300
296
✔ Node: node1
297
+ ✔ Set file permissions
298
+ ✔ Node: node0
301
299
✔ Setup network nodes
302
300
✔ Finalize
303
301
```
@@ -320,23 +318,22 @@ Kubernetes Namespace : solo
320
318
**********************************************************************************
321
319
✔ Initialize
322
320
✔ Check network pod: node2
323
- ✔ Check network pod: node0
324
321
✔ Check network pod: node1
322
+ ✔ Check network pod: node0
325
323
✔ Identify network pods
324
+ ✔ Start node: node0
326
325
✔ Start node: node2
327
326
✔ Start node: node1
328
- ✔ Start node: node0
329
327
✔ Starting nodes
330
328
✔ Check node: node0
331
329
✔ Check node: node1
332
330
✔ Check node: node2
333
331
✔ Check nodes are ACTIVE
334
- ✔ Check proxy for node: node1
335
332
✔ Check proxy for node: node2
336
333
✔ Check proxy for node: node0
334
+ ✔ Check proxy for node: node1
337
335
✔ Check node proxies are ACTIVE
338
336
```
339
-
340
337
* Deploy mirror node
341
338
342
339
```
@@ -515,23 +512,20 @@ Kubernetes Namespace : solo
515
512
✔ Gossip pem key for node: node2
516
513
✔ Generate gossip keys
517
514
✔ Backup old files
518
- ✔ TLS key for node: node0
519
- ✔ TLS key for node: node1
520
515
✔ TLS key for node: node2
516
+ ✔ TLS key for node: node1
517
+ ✔ TLS key for node: node0
521
518
✔ Generate gRPC TLS keys
522
519
✔ Finalize
523
520
```
524
-
525
521
PEM key files are generated in ` ~/.solo/keys ` directory.
526
-
527
522
```
528
523
$ ls ~/.solo/cache/keys
529
524
a-private-node0.pem a-public-node1.pem hedera-node1.crt s-private-node0.pem s-public-node1.pem
530
525
a-private-node1.pem a-public-node2.pem hedera-node1.key s-private-node1.pem s-public-node2.pem
531
526
a-private-node2.pem hedera-node0.crt hedera-node2.crt s-private-node2.pem
532
527
a-public-node0.pem hedera-node0.key hedera-node2.key s-public-node0.pem
533
528
```
534
-
535
529
* Setup cluster with shared components
536
530
537
531
```
@@ -567,37 +561,33 @@ $ solo node start
567
561
568
562
# output is similar to example-1
569
563
```
570
-
571
564
## For Developers Working on Hedera Service Repo
572
565
573
566
First, pleaes clone hedera service repo ` https://github.com/hashgraph/hedera-services/ ` and build the code
574
567
with ` ./gradlew assemble ` . If need to running nodes with different versions or releases, please duplicate the repo or build directories in
575
- multiple directories, checkout to the respective version and build the code.
568
+ multiple directories, checkout to the respective version and build the code.
576
569
577
570
To set customized ` settings.txt ` file, edit the file
578
571
` ~/.solo/cache/templates/settings.txt ` after ` solo init ` command.
579
572
580
573
Then you can start customized built hedera network with the following command:
581
-
582
574
```
583
575
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
584
576
```
585
577
586
578
## For Developers Working on Platform core
587
579
588
580
To deploy node with local build PTT jar files, run the following command:
589
-
590
581
```
591
582
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
592
583
--app PlatformTestingTool.jar --app-config <path-to-test-json1,path-to-test-json2>
593
584
```
594
-
595
585
## Logs
596
-
597
586
You can find log for running solo command under the directory ` ~/.solo/logs/ `
598
- The file ` solo.log ` contains the logs for the solo command.
587
+ The file ` solo.log ` contains the logs for the solo command.
599
588
The file ` hashgraph-sdk.log ` contains the logs from solo client when sending transactions to network nodes.
600
589
590
+
601
591
## Support
602
592
603
593
If you have a question on how to use the product, please see our [ support guide] ( https://github.com/hashgraph/.github/blob/main/SUPPORT.md ) .
0 commit comments