Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
2.13.0
-
2
-
Yes
-
Yes
-
[obsolete] Server Integrations
Description
User Impact: User can be confused with zero Disk Size
Steps to reproduce
- Register Kubernetes cluster with installed PXC operator
- Create Percona XtraDB cluster with specified Disk size=25
- Wait until the new DB cluster will have "Active" status
Expected result: Disk Size: 25
Proposed solution:
The storage values do not pass correctly from UI to k8s:
So during the creation of PXC, it used default value 1G.
And as a result, there is an issue during conversion https://github.com/percona-platform/dbaas-controller/blob/cb78e257cfc95f56b2ef78ca9b298d32f0470001/service/cluster/xtra_db_cluster.go#L72
from
"resources": { "requests": { "storage": "1G" } }
and we receive 0.