-
Story
-
Resolution: Done
-
Undefined
-
2.3.0.GA
-
None
-
False
-
None
-
False
-
-
-
To enhance the user experience and prevent issues (and support case), it is recommended to implement measures to prevent resizing a cluster Persistent Volume (PV) when using an unsuitable StorageClass. This prevention can be achieved through the following approaches:
- User Interface (UI) Enhancement: On the UI, when attempting to resize a cluster PV with an incompatible StorageClass, it should be disabled or grayed out with a tooltip explaining the reason why the operation is not allowed. This provides clear guidance to users and prevents them from making unintended changes.
- YAML Validation: When modifying the YAML definition of a cluster PV, the system should validate the requested changes and reject the modification if an incompatible StorageClass is specified. The rejection should be accompanied by a meaningful status message that explains why the resizing is not permitted. This helps users understand the limitations and make appropriate adjustments to their configurations.
By implementing these preventive measures, users will receive real-time feedback and guidance, both on the UI and during YAML modifications, ensuring that they make informed decisions and avoid potential issues related to resizing a cluster PV with an unsuitable StorageClass.