How do I connect my NATS docker image to my k8s NATS cluster? How do I connect my NATS docker image to my k8s NATS cluster? kubernetes kubernetes

How do I connect my NATS docker image to my k8s NATS cluster?


Are you trying to connect from local(microservice) to nats in your cluster(K8s running in your machine).if so you might need to do a port forward of the nats from your cluster then use http://localhost:4222 as the url for your microservice nats connection url.