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

Add in-place/no-downtime upgrade support #738

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

balamurugana
Copy link
Member

@balamurugana balamurugana commented Mar 27, 2023

Fixes #266

Depends on #756

@balamurugana balamurugana force-pushed the fix-issue-266 branch 10 times, most recently from 3e0e71c to 3c28cb6 Compare March 28, 2023 02:31
@balamurugana balamurugana marked this pull request as draft March 29, 2023 02:32
@balamurugana balamurugana force-pushed the fix-issue-266 branch 19 times, most recently from 7ba04f8 to dc57a28 Compare March 31, 2023 17:16
@balamurugana balamurugana force-pushed the fix-issue-266 branch 17 times, most recently from 51d790b to d87feac Compare April 12, 2023 01:26

install_directpv "./kubectl-directpv_4.0.2_linux_amd64" "${pod_count}"
install_directpv "${DIRECTPV_DIR}/kubectl-directpv" "${pod_count}" # here upgrade is done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we check the controller and node-server image after the upgrade?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already covered in https://github.com/minio/directpv/pull/738/files#diff-7ed495c18e646e4ee18df0ec70098407224c7b618d51cec5c06693a14d53fdabR467 i.e. in a normal upgrade case. If test_upgrade fails, this test has no meaning.

Let me know we still need to add the check here.

echo

# cleanup_directpv
# ssh_cmd "${MASTER_VM_IP}" "ACTIVE_NODES=${ACTIVE_NODES} ./functests/run-migration-tests.sh v2.0.9"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove these comments?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@balamurugana balamurugana force-pushed the fix-issue-266 branch 4 times, most recently from fd60d78 to 6967d03 Compare April 13, 2023 12:34
@balamurugana balamurugana marked this pull request as draft April 13, 2023 12:37
@balamurugana balamurugana force-pushed the fix-issue-266 branch 4 times, most recently from a5beaa5 to e5b8098 Compare April 13, 2023 16:45
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.

Support no-downtime version upgrades
2 participants