Prerequisites:
- kubectl ( https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/#install-kubectl-binary-with-curl-on-macos )
- nats cli ( https://github.com/nats-io/natscli )
$ nats context save tma-remote
$ vi ~/.config/nats/context/tma-remote.json
{
"url": "nats://{CLOUD PROVIDER LOAD BALANCER EXTERNAL IP}", # kubectl get services
"user": "admin",
"password": "password"
}
$ nats context select tma-remote
$ while :; do clear; nats server ls --sort=name; sleep 1; done