openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.53k stars 99 forks source link

Strategy-Based Provisioning Model; Provisioning Journal #99

Closed michaelquigley closed 1 year ago

michaelquigley commented 1 year ago

Extend the controller to incorporate a strategy-based provisioning model (different strategies to support the different sharing and backend modes).

Either:

...also implement disposal-strategies per provisioner

or:

Extend the controller to create a "provisioning journal", which tracks the resources created on behalf of accounts and environments. This will allow us to utilize a single general-purpose (journal-based) cleanup strategy.

michaelquigley commented 1 year ago

Instead of creating a data structure in zrok to support the journaling concept, we might also just tag the created resources with a consistent identifier and then find them using that identifier at destruction time.

If we end up creating strategies for disposal, we might still want to utilize tagging in Ziti for disposal.

michaelquigley commented 1 year ago

Attempt tag/journal-based deprovisioning.