Re: How to access the IP of my other instance inside my app


Daniel Mikusa <dmikusa@...>
 

Take a look at the example referenced from the docs. You can see the links
exposed in the spec file and how they're consumed in the various templates.

https://github.com/cppforlife/zookeeper-release/tree/master/jobs/zookeeper

Dan


On Wed, Sep 20, 2017 at 10:44 AM, Ushani Balasooriya <ushanib(a)gmail.com>
wrote:

Hi Daniel,
I'm trying create a cluster setup which is configurable for n number of
instances. So, How can I access the IP set for a particular IP dynamically?
Or is there a way where I can access them using a pre defined host which
it can resolve the IP by itself?

Appreciate your help

Join {cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.