Skip to content

feat: add liveness probe for node-driver-registrar#2400

Merged
andyzhangx merged 3 commits intokubernetes-sigs:masterfrom
andyzhangx:feat/node-driver-registrar-healthcheck
Apr 10, 2026
Merged

feat: add liveness probe for node-driver-registrar#2400
andyzhangx merged 3 commits intokubernetes-sigs:masterfrom
andyzhangx:feat/node-driver-registrar-healthcheck

Conversation

@andyzhangx
Copy link
Copy Markdown
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

Add health check endpoint and liveness probe for the node-driver-registrar container in the blob CSI driver node DaemonSet. This helps detect and recover from node-driver-registrar failures automatically.

Similar to kubernetes-sigs/azuredisk-csi-driver#3572 for azuredisk and kubernetes-sigs/azurefile-csi-driver#3070 for azurefile.

Uses port 29637 for the health check endpoint. Since the node DaemonSet always uses hostNetwork: true, the endpoint binds to localhost directly.

Changes:

  • charts/latest/templates/csi-blob-node.yaml: add --http-endpoint arg, ports, and livenessProbe to node-driver-registrar container
  • charts/latest/values.yaml: add nodeDriverRegistrar config section (healthPort: 29637)
  • charts/README.md: document new helm values
  • deploy/csi-blob-node.yaml: add healthcheck to static manifest
  • Update helm chart tgz

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Port 29637 chosen to avoid conflicts with existing ports (29632 controller liveness, 29633 node liveness, 29634 controller metrics, 29635 node metrics).

Add health check endpoint and liveness probe for the node-driver-registrar
container in the blob CSI driver node DaemonSet. This helps detect and
recover from node-driver-registrar failures automatically.

Uses port 29637 for the health check endpoint. Since the node DaemonSet
always uses hostNetwork: true, the endpoint binds to localhost directly.

Changes:
- charts/latest: add --http-endpoint arg, ports, and livenessProbe to
  node-driver-registrar container template
- charts/latest/values.yaml: add nodeDriverRegistrar config section
- charts/README.md: document new helm values
- deploy/csi-blob-node.yaml: add healthcheck to static manifest
- Update helm chart tgz
@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 9, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyzhangx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 9, 2026
@k8s-ci-robot k8s-ci-robot requested review from cvvz and feiskyer April 9, 2026 12:34
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 9, 2026
@andyzhangx andyzhangx requested a review from Copilot April 9, 2026 13:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a dedicated HTTP health endpoint and liveness probe for the node-driver-registrar sidecar in the Blob CSI Driver node DaemonSet, improving automatic recovery from registrar failures in both the static manifests and Helm chart.

Changes:

  • Configure node-driver-registrar with --http-endpoint=localhost:<port> (default 29637).
  • Add ports + livenessProbe for node-driver-registrar in both Helm and the static node DaemonSet manifest.
  • Expose new Helm values (nodeDriverRegistrar.*) and document them.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
deploy/csi-blob-node.yaml Adds registrar HTTP endpoint flag, port, and liveness probe to the static node DaemonSet manifest.
charts/README.md Documents the new nodeDriverRegistrar.* Helm values for the registrar liveness probe.
charts/latest/blob-csi-driver/values.yaml Introduces default nodeDriverRegistrar health port and probe tuning values.
charts/latest/blob-csi-driver/templates/csi-blob-node.yaml Adds registrar HTTP endpoint flag, named port, and livenessProbe to the Helm-rendered node DaemonSet.
charts/latest/blob-csi-driver-v0.0.0.tgz Updates the packaged “latest” chart artifact to include the new template/values.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Move top-level nodeDriverRegistrar values to node.nodeDriverRegistrar
for consistency with existing node.* config structure (node.livenessProbe,
node.resources.nodeDriverRegistrar, etc).

- values.yaml: nodeDriverRegistrar -> node.nodeDriverRegistrar
- csi-blob-node.yaml: .Values.nodeDriverRegistrar -> .Values.node.nodeDriverRegistrar
- README.md: update parameter paths
- Regenerate charts/latest tgz
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/latest/blob-csi-driver/values.yaml
Comment thread deploy/csi-blob-node.yaml
Comment thread charts/README.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/README.md
Comment thread charts/README.md
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants