Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

197 control load balancing service placement #198

Merged
merged 5 commits into from
Oct 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
...
  • Loading branch information
baabeetaa committed Oct 26, 2022
commit 57d24833d922074ebfa23a10da1bc8f4de98460b
9 changes: 5 additions & 4 deletions docs/placement_lb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

https://github.com/notional-labs/cosmosia/issues/197

Need at least 2 nodes in case one node down.

| No | Chain | Node1 | Node 2 |
|---:|:----------------------|:-----------:|:-----------:|
Expand Down Expand Up @@ -48,7 +49,7 @@ https://github.com/notional-labs/cosmosia/issues/197
| 41 | injective | cosmosia5 | cosmosia6 |
| 42 | kujira | cosmosia6 | cosmosia7 |
| 43 | passage | cosmosia7 | cosmosia8 |
| 44 | osmosis-testnet | cosmosia8 | cosmosia8 |
| 44 | osmosis-testnet | cosmosia8 | cosmosia9 |
| 45 | evmos-archive | cosmosia9 | cosmosia10 |
| 46 | stride | cosmosia10 | cosmosia11 |
| 47 | dig-archive | cosmosia11 | cosmosia12 |
Expand All @@ -58,15 +59,15 @@ https://github.com/notional-labs/cosmosia/issues/197

To add label to a node:
```console
docker node update --label-add cosmosia.lb=osmosis cosmosia1
docker node update --label-add cosmosia.lb.osmosis=true cosmosia1
```

To remove label to a node:
```console
docker node update --label-rm cosmosia.lb cosmosia1
docker node update --label-rm cosmosia.lb.osmosis cosmosia1
```

To list node with label:
```console
docker node ls -f node.label=cosmosia.lb=osmosis
docker node ls -f node.label=cosmosia.lb.osmosis=true
```