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-20 10:31:29 -07:00 committed by GitHub
parent 8f58796ee7
commit 8d81b110a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,13 +121,7 @@ done
The Helm definition would look as follows for the 3 clusters:
```yaml
# super-cluster-with-leafnodes.yaml
nats:
externalAccess: true
logging:
debug: false
trace: false
# nats.yaml
leafnodes:
enabled: true
remotes:
@ -137,9 +131,6 @@ leafnodes:
name: ngs-creds
key: NGS.creds
cluster:
enabled: true
natsbox:
enabled: true
```
@ -149,7 +140,7 @@ Let's deploy the super cluster with Helm using the name of cluster as the name o
```sh
for ctx in do-ams3-nats-k8s-ams3 do-nyc1-nats-k8s-nyc1 do-sfo2-nats-k8s-sfo2; do
kubectl --context $ctx create secret generic ngs-creds --from-file $HOME/.nkeys/creds/synadia/NGS/NGS.creds
helm --kube-context $ctx install nats nats/nats -f super-cluster-with-leafnodes.yaml
helm --kube-context $ctx install nats nats/nats -f nats.yaml
done
```