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

Restart csi-registrar if registration is failed. #374

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

toshipp
Copy link
Contributor

@toshipp toshipp commented Oct 7, 2021

Sometimes, csi-registrar failed to register topolvm into kubelet due to lost
connection. In theory, the connection loss can be handled by grpc library
automatically, but it does not work by some kind of bugs. We use
livenessProbe to restart csi-regisrar instead. The functionality to detect
the case is introduced as of v2.3.0, the version depends on kubernetes
1.20 or higher, which is higher than our minimum supported version 1.19.
I think it is ok because the plugin registration system does not change.

Sometimes, csi-registrar failed to register topolvm into kubelet due to lost
connection. In theory, the connection loss can be handled by grpc library
automatically, but it does not work by some kind of bugs. We use
livenessProbe to restart csi-regisrar instead. The functionality to detect
the case is introduced as of v2.3.0, the version depends on kubernetes
1.20 or higher, which is higher than our minimum supported version 1.19.
I think it is ok because the plugin registration system does not change.
@project-bot project-bot bot added this to To do in Development Oct 7, 2021
@toshipp toshipp requested review from a team, cupnes, satoru-takeuchi and llamerada-jp and removed request for a team and satoru-takeuchi October 7, 2021 09:34
@toshipp
Copy link
Contributor Author

toshipp commented Oct 7, 2021

upstream issue: kubernetes-csi/node-driver-registrar#139

@llamerada-jp
Copy link
Contributor

Copy link
Contributor

@llamerada-jp llamerada-jp left a comment

Choose a reason for hiding this comment

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

LGTM

@toshipp toshipp moved this from To do to Review in progress in Development Oct 8, 2021
Copy link
Contributor

@cupnes cupnes left a comment

Choose a reason for hiding this comment

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

LGTM

Development automation moved this from Review in progress to Reviewer approved Oct 11, 2021
@toshipp toshipp merged commit ee1bfef into main Oct 11, 2021
Development automation moved this from Reviewer approved to Done Oct 11, 2021
@toshipp toshipp deleted the livenessprobe-for-node-driver-registrar branch October 11, 2021 08:50
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.

None yet

3 participants