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
8f58796ee7
commit
8d81b110a2
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user