alibaba / open-local

cloud-native local storage management system for stateful workload, low-latency with simplicity
Apache License 2.0
460 stars 81 forks source link

Implement Storage Capacity tracking #225

Open nashtsai opened 1 year ago

nashtsai commented 1 year ago

Why you need it?

Implement Storage Capacity tracking, as planned capacity management is required. ref: https://kubernetes.io/docs/concepts/storage/storage-capacity/

Other related information

Reference TopoLVM's impmenetation: https://github.com/topolvm/topolvm/pull/315/files

nashtsai commented 1 year ago

I would suggest completing following unimplemented interface functions: https://github.com/alibaba/open-local/blob/main/pkg/csi/controllerserver.go#L694

peter-wangxu commented 1 year ago

@nashtsai We did notice the spec, while based on current spec implementation the co-scheduling has not been resolved for pod compute resource(cpu/memory) and storage. https://kubernetes.io/docs/concepts/storage/storage-capacity/#limitations