kubernetes dns lookup of microservice
问题 i have a question on the kubernetes DNS lookup, if i am using in my services deployment "dns" instead of "env", Can my microservice using another microservices in the cluster get the dns names of all the microservices? I get this piece of code, if I use env then I get the the info of host from env. but if I am using dns what format and how do I get the dns names, is there a DNS object I can query on the client side? if (isset($_GET['cmd']) === true) { $host = 'redis-master'; if (getenv('GET