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

feat: Restart/Upgrade device-plugin will not affect services. #767

Merged

Conversation

chaunceyjiang
Copy link
Contributor

@chaunceyjiang chaunceyjiang commented Jan 2, 2025

What type of PR is this?

What this PR does / why we need it:

The most important reason that restarts affect business is that libvgpu.so is rewritten, leading to the application loading a partially written .so file. Currently, an MD5 calculation is used to determine if the file is the same, and it is not rewritten if it is different.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Test:

OCI config:

image

Pod:

image

Does this PR introduce a user-facing change?:

Copy link

codecov bot commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 44.19% <ø> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@chaunceyjiang chaunceyjiang force-pushed the device_plugin_upgrade branch from 30f9dc8 to 78b401f Compare January 2, 2025 06:56
@chaunceyjiang chaunceyjiang changed the title feat: Restarting device-plugin will not affect services. feat: Restart/Upgrade device-plugin will not affect services. Jan 2, 2025
@chaunceyjiang chaunceyjiang force-pushed the device_plugin_upgrade branch from 78b401f to f78e584 Compare January 2, 2025 07:25
@chaunceyjiang chaunceyjiang force-pushed the device_plugin_upgrade branch from f78e584 to e375563 Compare January 2, 2025 09:04
@archlitchi archlitchi merged commit 28d21fe into Project-HAMi:master Jan 3, 2025
11 checks passed
@wawa0210 wawa0210 added the kind/feature new function label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature new function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants