<p>In case of using eureka (+ Spring Boot) you can reach special endpoint where list of currently registered instances can be found. E.g.:
<a href="https://i.stack.imgur.com/xeUAh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xeUAh.png" alt="Instances currently registered with Eureka" /></a></p>
<p>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?</p>

<p>No. Eureka is a service discovery AND registration system. The spring cloud implementation of service discovery on kubernetes only reads from the kubernetes api. You could probably get the information via kubectl.</p>
