Skip to content

Conversation

@nicois
Copy link
Collaborator

@nicois nicois commented Jul 12, 2025

Any droplets tagged with the name value which are older than a certain amount and still not recognised as a nomad client are considered to be orphans, and will be deleted.

@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch 9 times, most recently from d275c80 to 88c32ab Compare July 14, 2025 04:22
@nicois nicois marked this pull request as ready for review July 14, 2025 04:23
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch 5 times, most recently from ae4a428 to 2879a22 Compare July 18, 2025 00:59
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from 2879a22 to 167efb0 Compare July 22, 2025 00:37
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch 8 times, most recently from 7c0da11 to b3d1e5e Compare July 23, 2025 03:47
If a droplet is created by the autoscaler, but it fails to
register with nomad as a client, it should be considered
an orphan and deleted.

Add a configuration setting to control this behaviour. Only
droplets with the "name" tag which were not recently created
will be considered for deletion.
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from b3d1e5e to c7d3a7c Compare July 23, 2025 04:07
If VAULT_ADDR or VAULT_TOKEN are not provided, the vault client
will probably not operate as expected, instead expecting to
find a vault server running on localhost. Instead, surface a more
helpful error to indicate the environment variable which is missing.
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from 3cf3cba to ef7e5c1 Compare September 3, 2025 02:46
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from 270a1aa to 332da82 Compare September 17, 2025 08:41
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from a21afc7 to aa21486 Compare September 29, 2025 10:06
@nicois nicois force-pushed the nicois/clean-up-orphaned-droplets branch from f74b449 to 0450772 Compare September 30, 2025 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant