Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreate VMs when cloud-init user data changes. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Recreate VMs when cloud-init user data changes. #9

wants to merge 1 commit into from

Conversation

colek42
Copy link

@colek42 colek42 commented Oct 23, 2020

We are injecting manifests into the cloud-init file. The VMs need to be recreated when this file changed. This PR md5 hashes the user data. We also add lifecycle.create_before_destroy to the VMTemplate and node pool. This has the effect of almost eliminating cluster downtime when changing the bootstrap manifests. The bootstrap manifests are applied to the master node pool so applications should have zero downtime with this change. Fixes #5

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.

Launch Templates Should Contain Randomness
1 participant