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:
|
The Helm definition would look as follows for the 3 clusters:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# super-cluster-with-leafnodes.yaml
|
# nats.yaml
|
||||||
nats:
|
|
||||||
externalAccess: true
|
|
||||||
logging:
|
|
||||||
debug: false
|
|
||||||
trace: false
|
|
||||||
|
|
||||||
leafnodes:
|
leafnodes:
|
||||||
enabled: true
|
enabled: true
|
||||||
remotes:
|
remotes:
|
||||||
@ -137,9 +131,6 @@ leafnodes:
|
|||||||
name: ngs-creds
|
name: ngs-creds
|
||||||
key: NGS.creds
|
key: NGS.creds
|
||||||
|
|
||||||
cluster:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
natsbox:
|
natsbox:
|
||||||
enabled: true
|
enabled: true
|
||||||
```
|
```
|
||||||
@ -149,7 +140,7 @@ Let's deploy the super cluster with Helm using the name of cluster as the name o
|
|||||||
```sh
|
```sh
|
||||||
for ctx in do-ams3-nats-k8s-ams3 do-nyc1-nats-k8s-nyc1 do-sfo2-nats-k8s-sfo2; do
|
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
|
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
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user