Re: How to get the IP addresses of the instances of the same application
Casey West
Indeed, I've had great success using the `jq` command-line tool to parse
toggle quoted messageShow quoted text
JSON along with `cf app app-name --guid` and `cf curl`. Like so: $ cf curl /v2/apps/$(cf app app-name --guid)/stats | jq '.[].stats.host' "10.10.112.75" "10.10.116.51" "10.10.113.72" "10.10.116.53" "10.10.113.69" More on jq if needed: https://github.com/stedolan/jq — Casey
On Sat, Mar 5, 2016 at 8:15 PM DHR <lists(a)dhrapson.com> wrote:
The router_status endpoint of the router node gives a nice point-in-time
|
|