GCE Virtual Machine Discoveryedit

Google Compute Engine VM discovery allows to use the google APIs to perform automatic discovery (similar to multicast in non hostile multicast environments). Here is a simple sample configuration:

      project_id: <your-google-project-id>
      zone: <your-zone>
      type: gce

+The following gce settings (prefixed with cloud.gce) are supported:

+ + retry::

+ + If set to true, client will use + ExponentialBackOff + policy to retry the failed http request. Defaults to true.

+ + max_wait::

+ + The maximum elapsed time in milliseconds after the client instantiating retry. If the time elapsed goes past the + max_wait, client stops to retry. Defaults to 15 minutes (900000 milliseconds).


Binding the network host

It’s important to define network.host as by default it’s bound to localhost.

You can use core network host settings or gce specific host settings: