UchihaIthachi commented on issue #6973:
URL: https://github.com/apache/camel-k/issues/6973#issuecomment-6913001960

   Thanks @squakez! It takes the host from the `servers` option (either on the 
URI or `camel.component.nats.servers`) and adds the monitoring port 8222, so 
`nats://nats.my-ns.svc:4222` ends up as `nats.my-ns.svc:8222`. The e2e asserts 
that value on the ScaledObject.
   
   One thing I noticed while trying it out: with the official NATS Helm chart 
the main Service doesn't expose 8222 by default (only the headless one does), 
so in that case it needs the monitor port enabled on the Service or an 
`autoMetadata` override. Same if `servers` is a placeholder like 
`{{env:NATS_URL}}`, since that can't be resolved there. Happy to add a short 
note to the docs if you think it's useful.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to