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

Don't scale down Longhorn pods before pvmigrate runs #4868

Merged

Conversation

diamonwiggins
Copy link
Member

@diamonwiggins diamonwiggins commented Oct 9, 2023

What this PR does / why we need it:

Today both kURL and Pvmigrate have code to scale down pods using Longhorn before a migration starts. Pvmigrate however contains additional code to determine where it should schedule a volume based on its attached workload which is relevant for migrations to OpenEBS LocalPV where the volumes can't be mounted to multiple nodes. This change leaves pod scale down operations to Pvmigrate so that it can also make determinations based on where existing workloads were running when scheduling the migration pod that creates new volumes.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?


Does this PR require documentation?

@diamonwiggins diamonwiggins requested a review from a team as a code owner October 9, 2023 14:57
@diamonwiggins diamonwiggins added type::bug Something isn't working bug::normal labels Oct 9, 2023
laverya
laverya previously approved these changes Oct 9, 2023
@diamonwiggins diamonwiggins merged commit bfc4b43 into main Oct 9, 2023
@diamonwiggins diamonwiggins deleted the diamonwiggins/fix-longhorn-migration-pod-scaling-conflict branch October 9, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants