Files
Ping DaiandGitHub 491c488fd6 [Feature][APIServer] Support decimal memory values in KubeRay APIServer (#3956)
* [Add] Newly added support for configuring calculation templates to handle decimal numbers

Signed-off-by: daiping8 <[email protected]>

* [Update] Modified memory field type to integer and added optional memory unit in ComputeTemplate

Signed-off-by: daiping8 <[email protected]>

* [Update] Added `MemoryUnit` field to `ComputeTemplate` in E2E tests to support memory unit specification

Signed-off-by: daiping8 <[email protected]>

* [Update] Added memory unit field `CompTemplateMemUnitForE2E` to enhance E2E test configurations

Signed-off-by: daiping8 <[email protected]>

* [Update] Added `memory_unit` field in `converter_test.go` for extended E2E test coverage

Signed-off-by: daiping8 <[email protected]>

* [Update] Applied default `memory_unit` handling in `converter.go` and updated E2E tests for consistency

Signed-off-by: daiping8 <[email protected]>

* [Update] Adjusted E2E test to handle default `MemoryUnit` in `ComputeTemplate` and ensure compatibility

Signed-off-by: daiping8 <[email protected]>

* [Update] Replaced protobuf cloning with explicit struct initialization in E2E test to enhance clarity and removed unused import

Signed-off-by: daiping8 <[email protected]>

* [Update] Added logging for expected and actual templates in E2E test to improve debugging clarity

Signed-off-by: daiping8 <[email protected]>

* [Update] Removed default `MemoryUnit` assignment logic from `converter.go` and cleaned up related tests and configurations

Signed-off-by: daiping8 <[email protected]>

---------

Signed-off-by: daiping8 <[email protected]>
2025-09-06 11:03:26 -07:00
..