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

Customized selection disk #75

Open
caoxianfei1 opened this issue Jun 27, 2023 · 0 comments
Open

Customized selection disk #75

caoxianfei1 opened this issue Jun 27, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@caoxianfei1
Copy link
Collaborator

We have reserved a field in the API, useSelectedNode which can support custom selection of disks and nodes, but this function has not been implemented yet. At the same time, if this function is realized, the Nodes field under Storage field can be deleted, and only need to be selected according to the Nodes under Spec.

After modification:

useSelectedNodes: true
#selectedNodes:
    - node: curve-operator-node1
      - devices:
        name: /dev/vdd
        mountPath: /data/chunkserver1
        percentage: 90
      - devices:
        name: /dev/vdf
        mountPath: /data/chunkserver2
        percentage: 80
    - node: curve-operator-node2
      - devices:
        name: 
        mountPath: 
        percentage: 

When UseSelectNodes is false, the Nodesfield no longer needs to be specified, and it can be determined according to theNodesfield under theSpec` field.

@caoxianfei1 caoxianfei1 added the good first issue Good for newcomers label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant