Open GunaKKIBM opened 4 months ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
Currently, if the user provides input for pvc creation in Kilobytes, Gigabytes, Megabytes (10^3, 10^6, 10^9) and the respective cloud provider creates the same in GB and returns response, it would be better if csi provisioner has the capability to convert the response published in pvc to GB accordingly. Elaborating more with an example
Cloud provider could created the volume in either Gibibytes (1024 x), or Gigabytes (1000 x) and send the response to csi provisioner accordingly. Example: Current behavior If the response sent by csi driver of the cloud provider is - 100000000000 bytes, currently the response published is - 97656250Ki which is derived from the code, https://github.com/kubernetes-csi/external-provisioner/blob/ef83836bc21e5a737ded6d0f37f8a5f6a97d8973/pkg/controller/controller.go#L1863 .
Expected and more readable response: 100G
https://github.com/kubernetes-csi/external-provisioner/blob/ef83836bc21e5a737ded6d0f37f8a5f6a97d8973/pkg/controller/controller.go#L1863
Thank you!