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

[Question] Support for devices at storage level with no deviceclasses #73

Open
leelavg opened this issue Nov 18, 2021 · 1 comment
Open

Comments

@leelavg
Copy link
Collaborator

leelavg commented Nov 18, 2021

  • I can think of a usecase for below CR, like, specific devices from specific nodes but no deviceClass from the nodes. Just checking whether it's intentional not to support below type or is it any bug?
---
apiVersion: topolvm.cybozu.com/v2
kind: TopolvmCluster
metadata:
  name: sample-cr
  namespace: topolvm-system
spec:
  topolvmVersion: "quay.io/topolvm/topolvm-with-sidecar:0.10.2"
  storage:
    # single device class with nodename, devices at storage level
    useAllNodes: false
    useAllDevices: false
    useLoop: false
    devices:
      - name: "/dev/nvme1n1"
        type: "disk"
      - name: "/dev/nvme2n1"
        type: "disk"
      - name: "/dev/nvme3n1"
        type: "disk"
      - name: "/dev/nvme4n1"
        type: "disk"
    deviceClasses:
      - nodeName: "ip-10-0-146-72.ap-south-1.compute.internal"
        classes:
          - volumeGroup: test-master
            className: hdd
            default: true
@little-guy-lxr
Copy link
Collaborator

Temporarily unsupported that specific node deviceclass without providing devices.
manage volume groups created by users has added in roadmap.

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

No branches or pull requests

2 participants