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

spec: add optional secrets to NodeGetVolumeStatsRequest #479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nixpanic
Copy link

@nixpanic nixpanic commented May 3, 2021

For BlockVolume type of volumes, there are very little stats that can be
gathered. The only reasonable metric on the Node that is available
without knowing the contents of the BlockVolume, is the Total capacity.

Different backend storage systems can thin-provision BlockVolumes.
Initially the Used storage will be low, and growing over time. This is
not detectable through standard Operating System APIs, but the backend
storage system can provide more acurate Available/Used stats through
expert APIs.

In order to allow the Node to retrieve advanced stats from the backend
storage system, the secrets that are used for staging the volume can be
provided.

Fixes: #371

@nixpanic nixpanic force-pushed the NodeGetVolumeStats/secrets branch from 69d9704 to f2d012b Compare May 3, 2021 16:27
@nixpanic nixpanic force-pushed the NodeGetVolumeStats/secrets branch from f2d012b to bc856b1 Compare June 8, 2021 07:11
@nixpanic nixpanic force-pushed the NodeGetVolumeStats/secrets branch from bc856b1 to 5e3def1 Compare June 15, 2021 12:43
For BlockVolume type of volumes, there are very little stats that can be
gathered. The only reasonable metric on the Node that is available
without knowing the contents of the BlockVolume, is the Total capacity.

Different backend storage systems can thin-provision BlockVolumes.
Initially the Used storage will be low, and growing over time. This is
not detectable through standard Operating System APIs, but the backend
storage system can provide more acurate Available/Used stats through
expert APIs.

In order to allow the Node to retrieve advanced stats from the backend
storage system, the secrets that are used for staging the volume can be
provided.
@nixpanic nixpanic force-pushed the NodeGetVolumeStats/secrets branch from 5e3def1 to a86141d Compare September 23, 2022 08:12
@nixpanic
Copy link
Author

Rebased on top of the master branch to resolve some conflicts. This is still something we're interested in so that Ceph-CSI can detect the actual consumed space of (thin-provisioned) BlockVolumes instead of the size of the block-device.

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.

Secrets feild addition to NodeGetVolumeStats Spec
1 participant