How to info existing pods regarding new services in kubernetes?

5/20/2016

In other words, how should we pass new env variables settings into existing pods?

Is re-creating the pods the only way to do so? Are there better ways?

-- Bob
kubernetes

1 Answer

5/20/2016

An alternative to using service locations via environment variables is to run the DNS add-on in your cluster. It will make services become automatically discoverable both through A and SRV records.

-- Timo Reimann
Source: StackOverflow