Skip to content

Customized selection disk #75

@caoxianfei1

Description

@caoxianfei1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions