1
0
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:
Waldemar Quevedo 2020-05-07 09:38:38 -07:00 committed by GitHub
parent fb7bfa6ce2
commit 21c8ed936d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!'
```