-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
Issue raised by @cduchesne
With PR #66 the names of the newly provisioned volumes will be based on the UID of the Kubernetes PVC object. Although the UIDs are unique, the UID does not differ much, making it harder for humans to read and differentiate between them.
Example from @cduchesne:
[root@prometheus csi-scaleio]# for i in {01..10}; do curl -s http://127.0.0.1:8080/api/v1/namespaces/scaleio/persistentvolumeclaims/vol$i | jq '.metadata.uid'; done
"f151bfd8-3751-11e8-ba9f-0cc47ac6c23c"
"f16e31ee-3751-11e8-ba9f-0cc47ac6c23c"
"f18a35c0-3751-11e8-ba9f-0cc47ac6c23c"
"f1a737cc-3751-11e8-ba9f-0cc47ac6c23c"
"f1c6e464-3751-11e8-ba9f-0cc47ac6c23c"
"f1e6f657-3751-11e8-ba9f-0cc47ac6c23c"
"f2034a06-3751-11e8-ba9f-0cc47ac6c23c"
"f223b1e4-3751-11e8-ba9f-0cc47ac6c23c"
"f2422240-3751-11e8-ba9f-0cc47ac6c23c"
"f25d4bec-3751-11e8-ba9f-0cc47ac6c23c"
Since the primary issue here is readability and Kubernetes does the same thing (#66 (comment)), I would consider this issue low pri. It would be nice if we can come up with a better naming scheme that is deterministicly generated from PVC without collisions.
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.