Skip to content

PVC Autoscaler outputs raw byte values instead of clean GB/GiB units #32

@tedward-23

Description

@tedward-23

Describe the bug
The PVC autoscaler outputs weird byte values (e.g., 7412376452 bytes) instead of the clean GB units shown in the documentation examples. The documentation shows examples with clean units like 1Gi, 10Gi but the actual output is in raw bytes.

To Reproduce

  1. Follow the documentation examples which show clean units
  2. Configure autoscaler with documented settings
  3. Trigger PVC scaling
  4. Observe output is 8894851742 bytes instead of clean 8Gi as shown in examples
Image

Expected behavior
PVC should scale to clean GB units as shown in documentation examples: 2Gi3Gi4Gi

Documentation Inconsistency

  • Documentation examples show: storage: 1Gi, maxCapacity: 10Gi
  • Documentation config requires: scale_up_min_increment: "1000000000" (bytes)
  • Actual output: 7412376452 (bytes)
  • Expected output: 5Gi (clean units)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions