Allow multiple nodes have templates (use local storage)#467
Allow multiple nodes have templates (use local storage)#467Atoms wants to merge 15 commits intoionos-cloud:mainfrom
Conversation
TestsPlease note that running unit and e2e tests requires manual approval from a team member. e2e testsWe use labels to control which e2e tests contexts are run:
ℹ️ Ask a team member to add the requested labels if you don't have enough permissions. |
|
did more intensive testing, not all cases now work, so will be making some changes there. |
|
fully reworked logic is now pushed, also updated description. |
wikkyk
left a comment
There was a problem hiding this comment.
Please make better use of validation rules instead of the overriding logic or erroring out. Early failure is better UX.
Make sure the examples are still correct.
This feature deserves documentation :)
This is close. I like the overall idea and implementation but it can be simplified. Please avoid just reformatting unrelated files as that makes the PR larger and thus harder to review plus it can mess up rebasing/reverting/... .
fac81f9 to
e393e18
Compare
|
|
Should i rebase on v1alpha2 branch then ? |
|
No, that branch is not ready yet. We'll rebase this PR once it's ready. Please hold on tight :) |
This adds supoprt for PR ionos-cloud/cluster-api-provider-proxmox#467
|
Hi guys, any news for this PR? This is most useful feature for homelab usage |
|
Hi guys, just to confirm — this feature will come with 0.8.0, right? Any rough ETA for 0.8.0? Really excited! |
|
v1alpha2 is close, we should be releasing 0.8.0-alpha.0 soonish, once that is out we will start merging the outstanding PRs like this one. |
|
@Atoms v1alpha2 is almost ready. Are you willing to port this? The branch is |
|
We wanted to include your work in v1alpha2 beta 0, but it didn't make it. Here's an a priori review:
Thanks for your contribution. |



Issue #, if available:
fixes #451
Adjusted order of how scheduling happens
If we have usable template, determine how we need to schedule
Targetis provided schedule on that node if template is thereTargetandallowedNodesmissing assume we want all nodes to use in scheduling (discover all nodes)allowedNodesschedule only onallowedNodesallowedNodesstill continue to schedule on nodes where template exists.LocalStorage:
options.Targetas we will use template from same node.Fixed existing tests to reflect multiple scenarios (moving out
templateIDandSourceNodefromsetupReconcilerTestcreateVMhad became too complex (gocyclo) as i've written in code for now it should be function to revisit and get into smaller chunks.