Skip to content

Add configuration of CSI driver liveness sidecar to helm deploy and label generated services#549

Open
promasu wants to merge 4 commits into
ceph:mainfrom
promasu:feat-liveness-sidecar-helm
Open

Add configuration of CSI driver liveness sidecar to helm deploy and label generated services#549
promasu wants to merge 4 commits into
ceph:mainfrom
promasu:feat-liveness-sidecar-helm

Conversation

@promasu

@promasu promasu commented Jul 18, 2026

Copy link
Copy Markdown

Describe what this PR does

Adds configuration of liveness sidecar to helm deploy and label generated services

Is there anything that requires special attention

Rook allows adding a ServiceMonitor for the CSI drivers. Currently this option is of no use, as there is no way to enable the liveness sidecar when deploying with Helm.

Related issues

Future concerns

Checklist:

  • Commit Message Formatting: Commit titles and messages follow
    guidelines in the developer
    guide
    .
  • Reviewed the developer guide on Submitting a Pull
    Request
  • Pending release
    notes

    updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

promasu added 4 commits July 19, 2026 01:29
Currently the liveness settings are part of the DriverType spec but are
not configurable or can't be enabled via Helm. This commits allows this
configuration.

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
Adds labels to the liveness sidecar service so it can be automatically
discovered by a Prometheus ServiceMonitor.
The app label matches the included ServiceMonitor in the Rook Helm
chart.

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
@Madhu-1

Madhu-1 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

@promasu Thanks for the PR, the liveness is deprecated in csi and we are planning to remove it, so we dont have any plan to add it to the csi-operator

@promasu

promasu commented Jul 21, 2026

Copy link
Copy Markdown
Author

Hi @Madhu-1 I tried to find out if this was let out on purpose and was not find anything about this. I was not able to locate any deprecation notice for liveness in CSI spec, so I'd happy if you could point me in that direction.

But you are totally right, if liveness is deprecated in CSI, then this PR is senseless.

@Madhu-1

Madhu-1 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Hi @Madhu-1 I tried to find out if this was let out on purpose and was not find anything about this. I was not able to locate any deprecation notice for liveness in CSI spec, so I'd happy if you could point me in that direction.

But you are totally right, if liveness is deprecated in CSI, then this PR is senseless.

@promasu yes its not documented anywhere but its was on maintainers decision to not invest on it as its deprecated and removed soon.

@promasu

promasu commented Jul 21, 2026

Copy link
Copy Markdown
Author

@Madhu-1 It still shows as stable in the CSI docs https://kubernetes-csi.github.io/docs/livenessprobe.html
I'm still very confused.

@Madhu-1

Madhu-1 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

@Madhu-1 It still shows as stable in the CSI docs https://kubernetes-csi.github.io/docs/livenessprobe.html I'm still very confused.

we have not added liveness provided by the kubernetes-csi yet, PTAL ceph/ceph-csi#5599 and ceph/ceph-csi#1096. one to remove native liveness in cephcsi another is to add supports for kubernetes-csi liveness

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.

2 participants