|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/src/cloud-init/doc/rtd/reference/datasources/ |
Upload File : |
.. _datasource_digital_ocean:
DigitalOcean
************
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 in the DigitalOcean
`metadata documentation`_.
Configuration
=============
DigitalOcean's datasource can be configured as follows: ::
datasource:
DigitalOcean:
retries: 3
timeout: 2
* ``retries``
Specifies the number of times to attempt connection to the metadata service.
* ``timeout``
Specifies the timeout (in seconds) to wait for a response from the
metadata service.
.. _DigitalOcean: http://digitalocean.com/
.. _metadata documentation: https://developers.digitalocean.com/metadata/