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

Migration script for master terraform state (count -> for_each) #177

Closed
robinAwallace opened this issue Apr 13, 2022 · 0 comments
Closed
Labels
kind/improvement Improvement of existing features, e.g. code cleanup or optimizations.

Comments

@robinAwallace
Copy link
Contributor

In the next release of kubespray there is a possibility to manage master nodes in a map instead of count number.

Create a migration script which moves to the new for_each approach.

  1. Create a cluster using number_...
  2. Run migration script
  3. Show that terraform plan does not change anything.

For more information:
kubernetes-sigs/kubespray#8709

@robinAwallace robinAwallace added the kind/improvement Improvement of existing features, e.g. code cleanup or optimizations. label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Improvement of existing features, e.g. code cleanup or optimizations.
Projects
None yet
Development

No branches or pull requests

2 participants