cdk8s-team / cdk8s

Define Kubernetes native apps and abstractions using object-oriented programming

Home Page:https://cdk8s.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support fixed point number quantities

vinayak-kukreja opened this issue · comments

Description of the feature or enhancement:

There is no support for fixed point number quantities in Size or StorageUnit i.e. E, P, T, G, M, k.

More about fixed point numbers here: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory

Use Case:

This blocks using fixed point number quantities with cdk8s-plus.

Proposed Solution:

Adding support and conversion helper functions for these units. These would be similar to what currently exists for power-of-two equivalents units.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request