juicedata / juicefs-csi-driver

JuiceFS CSI Driver
https://github.com/juicedata/juicefs
Apache License 2.0
223 stars 85 forks source link

Smooth upgrade mount pod #1107

Closed zwwhdls closed 2 months ago

zwwhdls commented 2 months ago
  1. trigger upgrade in dashboard
  2. smooth upgrade mount pod in csi

close https://github.com/juicedata/juicefs-csi-driver/issues/1111 close https://github.com/juicedata/juicefs-csi-driver/issues/1123

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 24.18426% with 395 lines in your changes missing coverage. Please review.

Project coverage is 27.58%. Comparing base (489d406) to head (bbc94e5). Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
pkg/k8sclient/client.go 12.71% 103 Missing :warning:
pkg/controller/pod_driver.go 38.65% 68 Missing and 5 partials :warning:
pkg/dashboard/pod.go 0.00% 52 Missing :warning:
pkg/juicefs/mount/builder/job.go 0.00% 52 Missing :warning:
pkg/util/resource/terminal.go 0.00% 30 Missing :warning:
pkg/config/config.go 0.00% 18 Missing :warning:
pkg/util/resource/pod.go 0.00% 17 Missing :warning:
pkg/util/resource/job.go 0.00% 16 Missing :warning:
pkg/juicefs/mount/pod_mount.go 14.28% 11 Missing and 1 partial :warning:
pkg/util/util.go 86.56% 9 Missing :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1107 +/- ## ========================================== - Coverage 28.15% 27.58% -0.58% ========================================== Files 51 51 Lines 6893 7319 +426 ========================================== + Hits 1941 2019 +78 - Misses 4746 5096 +350 + Partials 206 204 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.