DigitalOcean plugin for Waldur Site Agent
This plugin integrates Waldur Site Agent with DigitalOcean using the
python-digitalocean SDK. It provisions droplets based on marketplace orders
and exposes droplet metadata back to Waldur.
Configuration
Example configuration for an offering:
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 31 32 33 34 35 36 | |
Resource attributes
You can override defaults per resource using attributes passed from Waldur:
regionorbackend_region_idimageorbackend_image_idsizeorbackend_size_iduser_dataorcloud_initssh_key_id,ssh_key_fingerprint, orssh_public_keyssh_key_name(optional when usingssh_public_key)tags(list of strings)
If ssh_public_key is provided, the plugin will create the key in DigitalOcean
if it does not already exist.
Resize via limits
To resize droplets from UPDATE orders, you can provide a size mapping:
1 2 3 4 5 6 | |
When limits match an entry in size_mapping, the droplet will be resized to
the corresponding size_slug.