JonasProgrammer / docker-machine-driver-hetzner

Docker machine driver for the new hetzner cloud API
https://jonasprogrammer.github.io/docker-machine-driver-hetzner/
MIT License
431 stars 53 forks source link

Upgrades in place? #78

Closed onpaws closed 2 years ago

onpaws commented 2 years ago

Hi, Thanks for your efforts with docker-machine-driver-hetzner, it's been helpful to me for setting things up on Hetzner.

I was curious about upgrades. Almost 2 years ago we installed version 2.1.0 on a Rancher instance. These days it seems like 3.7.0 is the current release.

IIUC Rancher may support a way to upgrade 'node drivers' in place.

image

Or, I could add v3.7.0 as a new one. I was wondering what I might expect if I upgrade the plugin in-place, and try to mutate something about an existing VM? Are releases backwards compatible?

Thank you

JonasProgrammer commented 2 years ago

Hi,

in theory there should not be any problems -- the major version bump was due to a changed default image after Hetzner rotated its supported images for machine creation. Other than that, while some internal stuff changed, both the external file format and the driver ABI itself should be perfectly backwards-compatible. On the other hand, I don't want to make any guarantees that might not hold due to an oversight.

If you want to make sure, just create a machine manually with the 2.1.0 build and then try interacting with it using the newer driver. Given some basic docker-machine functionality, such as starting, stopping, and perhaps SSH for good measure work, I think that it should be safe to assume Rancher works as well.

I'd be glad if you could report back, whether it worked and about any problems encountered, if any!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.