You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nats-server: error parsing include file 'advertise/gateway_advertise.conf', open /etc/nats-config/advertise/gateway_advertise.conf: no such file or directory
The nats config ( kubernetes secret ) contains an include
While advertising is disabled I wonder why there is an include to advertise/gateway_advertise.config ?
Who is responsible to create the gateway_advertise.config ?
The text was updated successfully, but these errors were encountered:
It assumes that the gateways will always have external access via host ports and advertising enabled, which relies on an initializer container to create that file. A check here on whether advertising has been enabled to decide whether to include the file would help avoiding the issue:
I try to deploy one nats cluster with a gateway configuration to build a super cluster.
The yaml looks like this:
The pod crashes with this error message:
nats-server: error parsing include file 'advertise/gateway_advertise.conf', open /etc/nats-config/advertise/gateway_advertise.conf: no such file or directory
The nats config ( kubernetes secret ) contains an include
include "advertise/gateway_advertise.conf", "gateway": { "name": "nats-one-gw", "port": 7522, "gateways": [ { "name": "nats-two-gw", "url": "nats://nats-two:7522" } ], "reject_unknown": true
While advertising is disabled I wonder why there is an include to advertise/gateway_advertise.config ?
Who is responsible to create the gateway_advertise.config ?
The text was updated successfully, but these errors were encountered: