<p>I’m currently working with spring boot and kubernetes and came across a problem.
I’ve already implemented service discovery in spring boot with spring-boot-cloud-kubernetes and it’s working fine, but (and this is something I’m not stoked about) I have to redeploy my microservices to minikube every time I want to observe the changes. Is there a way to use local service discovery (localhost) that also works within kubernetes without using Eureka, etc?</p>

<p>You could use Consul in combination with <a href="https://github.com/hashicorp/consul-template" rel="nofollow noreferrer">consul-template</a> or <a href="https://github.com/hashicorp/envconsul" rel="nofollow noreferrer">envconsul</a> to do service discovery and config file templating, including automatic restarting of the application if required.</p>
