yikuaibro opened a new issue, #292: URL: https://github.com/apache/shardingsphere-on-cloud/issues/292
### StorageNode Design Similar to ComputeNode, StorageNode should represent an abstraction of a group of storage nodes. In addition to data sources and schemas, its attributes also involve storage topology, type, and implementation. StorageNode can be manually created and specified or can be automatically created by dynamic-provisioner through the CRD of DatabaseClass. Then the attributes in ```StorageNodeSpec``` probably include: - DatabaseClass Name (data source configuration class property) - total storage capacity - Allocatable storage capacity ```StorageNodeStatus``` needs to reflect the overall status and condition of the instance or cluster. Similarly, similar to Kubernetes' StorageClass and IngressClass, DatabaseClass is also an abstract management of storage resources. Since it needs to be consumed by different Controllers (because StorageNodes need to be created), the Spec must be sufficiently abstract. The basic attributes include: - Provisioner - Parameters (data source configuration) @mlycore At present, the temporary design is like this. Is there anything else that I haven't considered? Or which ones are inappropriate? Looking forward to your guidance and suggestions! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
