@@ -76,7 +76,6 @@ Then run the following command to set the kubectl context to the new cluster:
76
76
``` bash
77
77
kind create cluster -n " ${SOLO_CLUSTER_NAME} "
78
78
```
79
-
80
79
Example output
81
80
82
81
```
@@ -92,11 +91,12 @@ You can now use your cluster with:
92
91
93
92
kubectl cluster-info --context kind-solo
94
93
95
- Have a nice day! 👋
94
+ Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community 🙂
96
95
```
97
96
98
97
You may now view pods in your cluster using ` k9s -A ` as below:
99
98
99
+
100
100
```
101
101
Context: kind-solo <0> all <a> Attach <ctr… ____ __.________
102
102
Cluster: kind-solo <ctrl-d> Delete <l> | |/ _/ __ \______
@@ -141,13 +141,13 @@ solo init -t v0.54.0-alpha.4 -i node1,node2,node3 -n "${SOLO_NAMESPACE}" -s "${S
141
141
```
142
142
143
143
******************************* Solo *********************************************
144
- Version : 0.31.0
144
+ Version : 0.31.1
145
145
Kubernetes Context : kind-solo
146
146
Kubernetes Cluster : kind-solo
147
147
Kubernetes Namespace : solo
148
148
**********************************************************************************
149
149
✔ Setup home directory and cache
150
- ✔ Check dependency: helm [OS: linux, Release: 5.15.0-119 -generic, Arch: x64]
150
+ ✔ Check dependency: helm [OS: linux, Release: 5.15.0-118 -generic, Arch: x64]
151
151
✔ Check dependencies
152
152
✔ Setup chart manager
153
153
@@ -169,7 +169,7 @@ solo node keys --gossip-keys --tls-keys
169
169
```
170
170
171
171
******************************* Solo *********************************************
172
- Version : 0.31.0
172
+ Version : 0.31.1
173
173
Kubernetes Context : kind-solo
174
174
Kubernetes Cluster : kind-solo
175
175
Kubernetes Namespace : solo
@@ -187,16 +187,13 @@ Kubernetes Namespace : solo
187
187
✔ Generate gRPC TLS keys
188
188
✔ Finalize
189
189
```
190
-
191
190
PEM key files are generated in ` ~/.solo/keys ` directory.
192
-
193
191
```
194
192
hedera-node1.crt hedera-node3.crt s-private-node1.pem s-public-node1.pem unused-gossip-pem
195
193
hedera-node1.key hedera-node3.key s-private-node2.pem s-public-node2.pem unused-tls
196
194
hedera-node2.crt hedera-node4.crt s-private-node3.pem s-public-node3.pem
197
195
hedera-node2.key hedera-node4.key s-private-node4.pem s-public-node4.pem
198
196
```
199
-
200
197
* Setup cluster with shared components
201
198
202
199
```
@@ -208,7 +205,7 @@ solo cluster setup
208
205
```
209
206
210
207
******************************* Solo *********************************************
211
- Version : 0.31.0
208
+ Version : 0.31.1
212
209
Kubernetes Context : kind-solo
213
210
Kubernetes Cluster : kind-solo
214
211
Kubernetes Namespace : solo
@@ -233,7 +230,7 @@ solo network deploy
233
230
```
234
231
235
232
******************************* Solo *********************************************
236
- Version : 0.31.0
233
+ Version : 0.31.1
237
234
Kubernetes Context : kind-solo
238
235
Kubernetes Cluster : kind-solo
239
236
Kubernetes Namespace : solo
@@ -243,24 +240,24 @@ Kubernetes Namespace : solo
243
240
✔ Copy gRPC TLS keys to staging
244
241
✔ Prepare staging directory
245
242
✔ Copy Gossip keys
246
- ✔ Node: node1
243
+ ✔ Node: node2
244
+ ✔ Copy TLS keys
247
245
✔ Copy Gossip keys
248
246
✔ Node: node3
249
- ✔ Copy TLS keys
250
247
✔ Copy Gossip keys
251
- ✔ Node: node2
248
+ ✔ Node: node1
252
249
✔ Copy node keys to secrets
253
250
✔ Install chart 'solo-deployment'
254
251
✔ Check Node: node1
255
252
✔ Check Node: node2
256
253
✔ Check Node: node3
257
254
✔ Check node pods are running
255
+ ✔ Check Envoy Proxy for: node3
258
256
✔ Check Envoy Proxy for: node2
259
257
✔ Check Envoy Proxy for: node1
260
- ✔ Check Envoy Proxy for: node3
258
+ ✔ Check HAProxy for: node2
261
259
✔ Check HAProxy for: node1
262
260
✔ Check HAProxy for: node3
263
- ✔ Check HAProxy for: node2
264
261
✔ Check proxy pods are running
265
262
✔ Check MinIO
266
263
✔ Check auxiliary pods are ready
@@ -278,26 +275,26 @@ solo node setup
278
275
```
279
276
280
277
******************************* Solo *********************************************
281
- Version : 0.31.0
278
+ Version : 0.31.1
282
279
Kubernetes Context : kind-solo
283
280
Kubernetes Cluster : kind-solo
284
281
Kubernetes Namespace : solo
285
282
**********************************************************************************
286
283
✔ Initialize
287
284
✔ Check network pod: node1
288
- ✔ Check network pod: node3
289
285
✔ Check network pod: node2
286
+ ✔ Check network pod: node3
290
287
✔ Identify network pods
291
- ✔ Update node: node3 [ platformVersion = v0.54.0-alpha.4 ]
292
288
✔ Update node: node2 [ platformVersion = v0.54.0-alpha.4 ]
293
289
✔ Update node: node1 [ platformVersion = v0.54.0-alpha.4 ]
290
+ ✔ Update node: node3 [ platformVersion = v0.54.0-alpha.4 ]
294
291
✔ Fetch platform software into network nodes
295
292
✔ Set file permissions
296
293
✔ Node: node1
297
294
✔ Set file permissions
298
- ✔ Node: node3
299
- ✔ Set file permissions
300
295
✔ Node: node2
296
+ ✔ Set file permissions
297
+ ✔ Node: node3
301
298
✔ Setup network nodes
302
299
```
303
300
@@ -312,23 +309,23 @@ solo node start
312
309
```
313
310
314
311
******************************* Solo *********************************************
315
- Version : 0.31.0
312
+ Version : 0.31.1
316
313
Kubernetes Context : kind-solo
317
314
Kubernetes Cluster : kind-solo
318
315
Kubernetes Namespace : solo
319
316
**********************************************************************************
320
317
✔ Initialize
321
- ✔ Check network pod: node3
322
318
✔ Check network pod: node1
319
+ ✔ Check network pod: node3
323
320
✔ Check network pod: node2
324
321
✔ Identify existing network nodes
325
322
✔ Start node: node1
326
323
✔ Start node: node3
327
324
✔ Start node: node2
328
325
✔ Starting nodes
329
- ✔ Check network pod: node1 - status ACTIVE, attempt: 16/120
330
- ✔ Check network pod: node2 - status ACTIVE, attempt: 17/120
326
+ ✔ Check network pod: node2 - status ACTIVE, attempt: 16/120
331
327
✔ Check network pod: node3 - status ACTIVE, attempt: 17/120
328
+ ✔ Check network pod: node1 - status ACTIVE, attempt: 17/120
332
329
✔ Check nodes are ACTIVE
333
330
✔ Check proxy for node: node1
334
331
✔ Check proxy for node: node2
@@ -351,7 +348,7 @@ solo mirror-node deploy
351
348
```
352
349
353
350
******************************* Solo *********************************************
354
- Version : 0.31.0
351
+ Version : 0.31.1
355
352
Kubernetes Context : kind-solo
356
353
Kubernetes Cluster : kind-solo
357
354
Kubernetes Namespace : solo
@@ -363,9 +360,9 @@ Kubernetes Namespace : solo
363
360
✔ Check Hedera Explorer
364
361
✔ Check Postgres DB
365
362
✔ Check GRPC
363
+ ✔ Check REST API
366
364
✔ Check Monitor
367
365
✔ Check Importer
368
- ✔ Check REST API
369
366
✔ Check pods are ready
370
367
✔ Insert data in public.file_data
371
368
✔ Seed DB data
@@ -382,7 +379,7 @@ solo relay deploy
382
379
```
383
380
384
381
******************************* Solo *********************************************
385
- Version : 0.31.0
382
+ Version : 0.31.1
386
383
Kubernetes Context : kind-solo
387
384
Kubernetes Cluster : kind-solo
388
385
Kubernetes Namespace : solo
@@ -454,7 +451,17 @@ Once the nodes are up, you may now expose various services (using `k9s` (shift-f
454
451
kubectl port-forward svc/haproxy-node3-svc -n " ${SOLO_NAMESPACE} " 52211:50211 &
455
452
```
456
453
* Envoy Proxy: ` envoy-proxy-<node ID>-svc `
454
+ ``` bash
455
+ # enable portforwarding for envoy proxy
456
+ kubectl port-forward svc/envoy-proxy-node1-svc -n " ${SOLO_NAMESPACE} " 8181:8080 &
457
+ kubectl port-forward svc/envoy-proxy-node2-svc -n " ${SOLO_NAMESPACE} " 8281:8080 &
458
+ kubectl port-forward svc/envoy-proxy-node3-svc -n " ${SOLO_NAMESPACE} " 8381:8080 &
459
+ ```
457
460
* Hedera explorer: ` solo-deployment-hedera-explorer `
461
+ ``` bash
462
+ # enable portforwarding for hedera explorer, can be access at http://localhost:8080/
463
+ kubectl port-forward svc/solo-deployment-hedera-explorer -n " ${SOLO_NAMESPACE} " 8080:80 &
464
+ ```
458
465
* JSON Rpc Relays
459
466
* You can deploy JSON RPC relays for one or more nodes as below:
460
467
``` bash
@@ -468,7 +475,7 @@ Example output
468
475
```
469
476
470
477
******************************* Solo *********************************************
471
- Version : 0.31.0
478
+ Version : 0.31.1
472
479
Kubernetes Context : kind-solo
473
480
Kubernetes Cluster : kind-solo
474
481
Kubernetes Namespace : solo
@@ -489,7 +496,6 @@ To set customized `settings.txt` file, edit the file
489
496
` ~/.solo/cache/templates/settings.txt ` after ` solo init ` command.
490
497
491
498
Then you can start customized built hedera network with the following command:
492
-
493
499
```
494
500
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
495
501
@@ -499,15 +505,12 @@ solo node setup --local-build-path <default path to hedera repo>,node1=<custom b
499
505
## For Developers Working on Platform core
500
506
501
507
To deploy node with local build PTT jar files, run the following command:
502
-
503
508
```
504
509
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo> --app PlatformTestingTool.jar --app-config <path-to-test-json1,path-to-test-json2>
505
510
506
511
# example: solo node setup --local-build-path ../hedera-services/platform-sdk/sdk/data,node1=../hedera-services/platform-sdk/sdk/data,node2=../hedera-services/platform-sdk/sdk/data --app PlatformTestingTool.jar --app-config ../hedera-services/platform-sdk/platform-apps/tests/PlatformTestingTool/src/main/resources/FCMFCQ-Basic-2.5k-5m.json
507
512
```
508
-
509
513
## Logs
510
-
511
514
You can find log for running solo command under the directory ` ~/.solo/logs/ `
512
515
The file ` solo.log ` contains the logs for the solo command.
513
516
The file ` hashgraph-sdk.log ` contains the logs from Solo client when sending transactions to network nodes.
@@ -517,7 +520,6 @@ The file `hashgraph-sdk.log` contains the logs from Solo client when sending tra
517
520
NOTE: the hedera-services path referenced '../hedera-services/hedera-node/data' may need to be updated based on what directory you are currently in. This also assumes that you have done an assemble/build and the directory contents are up-to-date.
518
521
519
522
Example 1: attach jvm debugger to a hedera node
520
-
521
523
``` bash
522
524
./test/e2e/setup-e2e.sh
523
525
solo node keys --gossip-keys --tls-keys
0 commit comments