mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Update super-cluster-on-digital-ocean.md
This commit is contained in:
parent
fb7bfa6ce2
commit
21c8ed936d
@ -94,5 +94,9 @@ nats-box:~# nats-sub -s nats hello
|
||||
# Send messages from San Francisco region
|
||||
nats-box:~# kubectl --context do-sfo2-nats-k8s-sfo2 exec -it nats-box -- /bin/sh -l
|
||||
nats-box:~# nats-pub -s nats hello 'Hello World!'
|
||||
|
||||
# From outside of k8s can use the external IPs
|
||||
$ nats-sub -s 142.93.251.181 hello
|
||||
$ nats-pub -s 161.35.2.153 hello 'Hello World!'
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user