mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Add missing ctx param
This commit is contained in:
parent
bc1245f505
commit
42b36ee37c
@ -23,7 +23,7 @@ For this setup, we will create a super cluster using the external IPs from the n
|
||||
```bash
|
||||
for ctx in do-ams3-nats-k8s-ams3 do-nyc1-nats-k8s-nyc1 do-sfo2-nats-k8s-sfo2; do
|
||||
echo "name: $ctx"
|
||||
for externalIP in `kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="ExternalIP")].address}'`; do
|
||||
for externalIP in `kubectl --context $ctx get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="ExternalIP")].address}'`; do
|
||||
echo "- nats://$externalIP:7522";
|
||||
done
|
||||
echo
|
||||
|
Loading…
x
Reference in New Issue
Block a user