summaryrefslogtreecommitdiff
path: root/doc/rtd/topics/datasources/digitalocean.rst
blob: 938ede891f78e77efef103543391cac39c873196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.. _datasource_digital_ocean:

Digital Ocean
=============

The `DigitalOcean`_ datasource consumes the content served from DigitalOcean's
`metadata service`_.  This metadata service serves information about the
running droplet via HTTP over the link local address 169.254.169.254.  The
metadata API endpoints are fully described at
`https://developers.digitalocean.com/metadata/
<https://developers.digitalocean.com/metadata/>`_.

Configuration
-------------

DigitalOcean's datasource can be configured as follows:

  datasource:
    DigitalOcean:
      retries: 3
      timeout: 2

- *retries*: Determines the number of times to attempt to connect to the metadata service
- *timeout*: Determines the timeout in seconds to wait for a response from the metadata service

.. _DigitalOcean: http://digitalocean.com/
.. _metadata service: https://developers.digitalocean.com/metadata/
.. _Full documentation: https://developers.digitalocean.com/metadata/

.. vi: textwidth=78