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

fallback to apiserver if cannot connect to kubelet #655

Merged
merged 12 commits into from
Jun 28, 2023

Conversation

zwwhdls
Copy link
Member

@zwwhdls zwwhdls commented May 31, 2023

fix #478

  1. enable podInfoOnMount in csiDriver
  2. set mount pod info in app pod
  3. add pod manager to watch mount pod. list app pods by labels and run podDriver(mountpoint recover).

@codecov-commenter
Copy link

codecov-commenter commented May 31, 2023

Codecov Report

Patch coverage: 6.13% and project coverage change: -1.41 ⚠️

Comparison is base (11134b4) 40.33% compared to head (3161f8a) 38.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #655      +/-   ##
==========================================
- Coverage   40.33%   38.93%   -1.41%     
==========================================
  Files          32       33       +1     
  Lines        3746     3891     +145     
==========================================
+ Hits         1511     1515       +4     
- Misses       2094     2231     +137     
- Partials      141      145       +4     
Impacted Files Coverage Δ
pkg/config/config.go 0.00% <ø> (ø)
pkg/config/setting.go 75.22% <0.00%> (-5.96%) ⬇️
pkg/controller/pod_controller.go 0.00% <0.00%> (ø)
pkg/controller/reconciler.go 0.00% <0.00%> (ø)
pkg/juicefs/mount/process_mount.go 40.70% <ø> (ø)
pkg/k8sclient/kubelet_client.go 0.00% <0.00%> (ø)
pkg/util/pod.go 35.45% <0.00%> (-3.94%) ⬇️
pkg/juicefs/mount/pod_mount.go 34.72% <25.00%> (-1.19%) ⬇️
pkg/juicefs/juicefs.go 50.28% <60.00%> (-0.10%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zwwhdls zwwhdls force-pushed the feature/csi_fallback_apiserver branch from 0c49ad0 to 6a77950 Compare June 1, 2023 02:55
@zwwhdls zwwhdls requested a review from Hexilee June 1, 2023 07:34
@zwwhdls zwwhdls merged commit 674ac83 into master Jun 28, 2023
@zwwhdls zwwhdls deleted the feature/csi_fallback_apiserver branch June 28, 2023 03:01
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.

[BUG] fallback to accessing apiserver when being denied by kubelet
3 participants