Skip to content

Commit 850dd36

Browse files
auto update README.md [skip ci]
Signed-off-by: Swirlds Automation <[email protected]>
1 parent af73379 commit 850dd36

File tree

1 file changed

+35
-33
lines changed

1 file changed

+35
-33
lines changed

README.md

+35-33
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Then run the following command to set the kubectl context to the new cluster:
7676
```bash
7777
kind create cluster -n "${SOLO_CLUSTER_NAME}"
7878
```
79-
8079
Example output
8180

8281
```
@@ -92,11 +91,12 @@ You can now use your cluster with:
9291
9392
kubectl cluster-info --context kind-solo
9493
95-
Have a nice day! 👋
94+
Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community 🙂
9695
```
9796

9897
You may now view pods in your cluster using `k9s -A` as below:
9998

99+
100100
```
101101
Context: kind-solo <0> all <a> Attach <ctr… ____ __.________
102102
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
141141
```
142142
143143
******************************* Solo *********************************************
144-
Version : 0.31.0
144+
Version : 0.31.1
145145
Kubernetes Context : kind-solo
146146
Kubernetes Cluster : kind-solo
147147
Kubernetes Namespace : solo
148148
**********************************************************************************
149149
✔ 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]
151151
✔ Check dependencies
152152
✔ Setup chart manager
153153
@@ -169,7 +169,7 @@ solo node keys --gossip-keys --tls-keys
169169
```
170170
171171
******************************* Solo *********************************************
172-
Version : 0.31.0
172+
Version : 0.31.1
173173
Kubernetes Context : kind-solo
174174
Kubernetes Cluster : kind-solo
175175
Kubernetes Namespace : solo
@@ -187,16 +187,13 @@ Kubernetes Namespace : solo
187187
✔ Generate gRPC TLS keys
188188
✔ Finalize
189189
```
190-
191190
PEM key files are generated in `~/.solo/keys` directory.
192-
193191
```
194192
hedera-node1.crt hedera-node3.crt s-private-node1.pem s-public-node1.pem unused-gossip-pem
195193
hedera-node1.key hedera-node3.key s-private-node2.pem s-public-node2.pem unused-tls
196194
hedera-node2.crt hedera-node4.crt s-private-node3.pem s-public-node3.pem
197195
hedera-node2.key hedera-node4.key s-private-node4.pem s-public-node4.pem
198196
```
199-
200197
* Setup cluster with shared components
201198

202199
```
@@ -208,7 +205,7 @@ solo cluster setup
208205
```
209206
210207
******************************* Solo *********************************************
211-
Version : 0.31.0
208+
Version : 0.31.1
212209
Kubernetes Context : kind-solo
213210
Kubernetes Cluster : kind-solo
214211
Kubernetes Namespace : solo
@@ -233,7 +230,7 @@ solo network deploy
233230
```
234231
235232
******************************* Solo *********************************************
236-
Version : 0.31.0
233+
Version : 0.31.1
237234
Kubernetes Context : kind-solo
238235
Kubernetes Cluster : kind-solo
239236
Kubernetes Namespace : solo
@@ -243,24 +240,24 @@ Kubernetes Namespace : solo
243240
✔ Copy gRPC TLS keys to staging
244241
✔ Prepare staging directory
245242
✔ Copy Gossip keys
246-
✔ Node: node1
243+
✔ Node: node2
244+
✔ Copy TLS keys
247245
✔ Copy Gossip keys
248246
✔ Node: node3
249-
✔ Copy TLS keys
250247
✔ Copy Gossip keys
251-
✔ Node: node2
248+
✔ Node: node1
252249
✔ Copy node keys to secrets
253250
✔ Install chart 'solo-deployment'
254251
✔ Check Node: node1
255252
✔ Check Node: node2
256253
✔ Check Node: node3
257254
✔ Check node pods are running
255+
✔ Check Envoy Proxy for: node3
258256
✔ Check Envoy Proxy for: node2
259257
✔ Check Envoy Proxy for: node1
260-
✔ Check Envoy Proxy for: node3
258+
✔ Check HAProxy for: node2
261259
✔ Check HAProxy for: node1
262260
✔ Check HAProxy for: node3
263-
✔ Check HAProxy for: node2
264261
✔ Check proxy pods are running
265262
✔ Check MinIO
266263
✔ Check auxiliary pods are ready
@@ -278,26 +275,26 @@ solo node setup
278275
```
279276
280277
******************************* Solo *********************************************
281-
Version : 0.31.0
278+
Version : 0.31.1
282279
Kubernetes Context : kind-solo
283280
Kubernetes Cluster : kind-solo
284281
Kubernetes Namespace : solo
285282
**********************************************************************************
286283
✔ Initialize
287284
✔ Check network pod: node1
288-
✔ Check network pod: node3
289285
✔ Check network pod: node2
286+
✔ Check network pod: node3
290287
✔ Identify network pods
291-
✔ Update node: node3 [ platformVersion = v0.54.0-alpha.4 ]
292288
✔ Update node: node2 [ platformVersion = v0.54.0-alpha.4 ]
293289
✔ Update node: node1 [ platformVersion = v0.54.0-alpha.4 ]
290+
✔ Update node: node3 [ platformVersion = v0.54.0-alpha.4 ]
294291
✔ Fetch platform software into network nodes
295292
✔ Set file permissions
296293
✔ Node: node1
297294
✔ Set file permissions
298-
✔ Node: node3
299-
✔ Set file permissions
300295
✔ Node: node2
296+
✔ Set file permissions
297+
✔ Node: node3
301298
✔ Setup network nodes
302299
```
303300

@@ -312,23 +309,23 @@ solo node start
312309
```
313310
314311
******************************* Solo *********************************************
315-
Version : 0.31.0
312+
Version : 0.31.1
316313
Kubernetes Context : kind-solo
317314
Kubernetes Cluster : kind-solo
318315
Kubernetes Namespace : solo
319316
**********************************************************************************
320317
✔ Initialize
321-
✔ Check network pod: node3
322318
✔ Check network pod: node1
319+
✔ Check network pod: node3
323320
✔ Check network pod: node2
324321
✔ Identify existing network nodes
325322
✔ Start node: node1
326323
✔ Start node: node3
327324
✔ Start node: node2
328325
✔ 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
331327
✔ Check network pod: node3 - status ACTIVE, attempt: 17/120
328+
✔ Check network pod: node1 - status ACTIVE, attempt: 17/120
332329
✔ Check nodes are ACTIVE
333330
✔ Check proxy for node: node1
334331
✔ Check proxy for node: node2
@@ -351,7 +348,7 @@ solo mirror-node deploy
351348
```
352349
353350
******************************* Solo *********************************************
354-
Version : 0.31.0
351+
Version : 0.31.1
355352
Kubernetes Context : kind-solo
356353
Kubernetes Cluster : kind-solo
357354
Kubernetes Namespace : solo
@@ -363,9 +360,9 @@ Kubernetes Namespace : solo
363360
✔ Check Hedera Explorer
364361
✔ Check Postgres DB
365362
✔ Check GRPC
363+
✔ Check REST API
366364
✔ Check Monitor
367365
✔ Check Importer
368-
✔ Check REST API
369366
✔ Check pods are ready
370367
✔ Insert data in public.file_data
371368
✔ Seed DB data
@@ -382,7 +379,7 @@ solo relay deploy
382379
```
383380
384381
******************************* Solo *********************************************
385-
Version : 0.31.0
382+
Version : 0.31.1
386383
Kubernetes Context : kind-solo
387384
Kubernetes Cluster : kind-solo
388385
Kubernetes Namespace : solo
@@ -454,7 +451,17 @@ Once the nodes are up, you may now expose various services (using `k9s` (shift-f
454451
kubectl port-forward svc/haproxy-node3-svc -n "${SOLO_NAMESPACE}" 52211:50211 &
455452
```
456453
* 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+
```
457460
* 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+
```
458465
* JSON Rpc Relays
459466
* You can deploy JSON RPC relays for one or more nodes as below:
460467
```bash
@@ -468,7 +475,7 @@ Example output
468475
```
469476
470477
******************************* Solo *********************************************
471-
Version : 0.31.0
478+
Version : 0.31.1
472479
Kubernetes Context : kind-solo
473480
Kubernetes Cluster : kind-solo
474481
Kubernetes Namespace : solo
@@ -489,7 +496,6 @@ To set customized `settings.txt` file, edit the file
489496
`~/.solo/cache/templates/settings.txt` after `solo init` command.
490497

491498
Then you can start customized built hedera network with the following command:
492-
493499
```
494500
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
495501
@@ -499,15 +505,12 @@ solo node setup --local-build-path <default path to hedera repo>,node1=<custom b
499505
## For Developers Working on Platform core
500506

501507
To deploy node with local build PTT jar files, run the following command:
502-
503508
```
504509
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>
505510
506511
# 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
507512
```
508-
509513
## Logs
510-
511514
You can find log for running solo command under the directory `~/.solo/logs/`
512515
The file `solo.log` contains the logs for the solo command.
513516
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
517520
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.
518521

519522
Example 1: attach jvm debugger to a hedera node
520-
521523
```bash
522524
./test/e2e/setup-e2e.sh
523525
solo node keys --gossip-keys --tls-keys

0 commit comments

Comments
 (0)