In case of using eureka (+ Spring Boot) you can reach special endpoint where list of currently registered instances can be found. E.g.:

Does Kubernetes service discovery have such endpoint or may be other mechanism to see all currently registered instances? UPD: Does kubernetes api have any possibilities to do this, may be via kubectl?
I managed to solve problem after a while.