-
Notifications
You must be signed in to change notification settings - Fork 245
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
Add support to detect whether the node has storage #674
Comments
With #649 we added capability to detect block devices. Currently, we only detect few queue-related attributes ( Related to this, I don't see use adding any storage-specific labels that would be generated by default. Merely, the new block attributes are available for vendor/application specific custom labels (#464, #553). This functionality is new, unreleased and the documentation is scarce. But happy to help you out with that. |
Thanks marquiz. From where I was coming is, in case of kubernetes cluster some nodes can be storage only nodes and some can be compute only. It can be good if there is a way to find this using node labels (or some other way if you can suggest). Storage vendors can deploy their software on the nodes that can provision storage and skip the compute nodes that does not have storage. |
@reenakabra is block device detection what you're after? Can you elaborate on what specific attributes your would be looking for. Just as an example, we could easily add for example Generally, I think your use case would be satisfied by deploying a vendor/appication specific labeling rule that would examine certain block device attributes and create labels accordingly. /cc zvonkok mythi |
@marquiz : Set "non-OS-block-device=true" if there exists block devices which do not contain OS bits. NFD could look at output of "lsblk" and if there exist devices other than the one's which contain "/" or "/boot" mountpoints, set "non-OS-block-device=true". |
Hi @marquiz , is it possible to set this label on the node through NFD? |
You can write a custom hook or side-car container (or pod) to do the detection. See local feature source |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is there a possibility that NFD can set label indicating the storage attached to node and type of storage. These are the disks other than the ones used by operating system and can be formatted and used by storage vendors. Information like the capacity and type of disks can be helpful.
Let me know your thoughts on this.
The text was updated successfully, but these errors were encountered: