curve-operator
curve-operator copied to clipboard
Customized selection disk
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 the
Nodesfield under the
Spec` field.