Skip to content

Commit

Permalink
Merge pull request #117 from playground/oh-mesh-2
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
playground authored Mar 4, 2024
2 parents efb8f39 + e6d29fa commit 5c0232b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,24 @@ Open Horizon toolkit is a CLI built with Typescript for the NodeJS developers. I

NOTE: Auto-dock is a containerized service that comes with hzn-cli built into this service. Please refer to https://github.com/playground/auto-dock

### To setup Edge Node Agent, All-In-One, running CLI & agent in containers and etc.
### To setup Edge Node Agent, All-In-One, Agent with Mesh, running CLI & agent in containers and etc.

`curl -sSL https://raw.githubusercontent.com/playground/hzn-cli/main/install.sh --output install.sh && bash ./install.sh`

#### Some example commands to work with Mesh
```
oh deploy createDeployment --name frontend --image quay.io/skupper/hello-world-frontend
oh deploy exposeDeployment --name frontend --port 8080 --type LoadBalancer
oh deploy createDeployment --name backend --image quay.io/skupper/hello-world-backend
oh deploy exposeDeployment --name backend --port 8080
oh deploy meshNodeList --name agent-5c4cb8c677-fs4hr
oh deploy meshAgreementList --name agent-5c4cb8c677-c4skq
oh deploy registerMeshAgent
oh deploy unregisterMeshAgent --name agent-5c4cb8c677-c4skq
oh deploy meshPodList
oh deploy meshServiceList
```

OR

### To setup manually.
Expand Down

0 comments on commit 5c0232b

Please sign in to comment.