Open
Description
All the openfaas implementation should return the memory info in the Canonicalize format.
Expected Behaviour
faasd should return memory limits in Canonicalize i.e. 5000000 should be returned as 5M. We follow the same into faas-netes.
Current Behaviour
faasd Provides function memory limit in bytes.
Are you a GitHub Sponsor (Yes/No?)
Check at: https://github.com/sponsors/openfaas
- Yes
- No
List all Possible Solutions
We can follow the implementation for k8s
https://github.com/openfaas/faas-netes/blob/master/pkg/k8s/function_status.go#L38
https://github.com/openfaas/faas-netes/blob/master/vendor/k8s.io/api/core/v1/resource.go#L34
List the one solution that you would recommend
Steps to Reproduce (for bugs)
- We can use certifier with the current release of faasd as done in the pipeline https://github.com/openfaas/certifier/runs/4542572124?check_suite_focus=true#step:5:138
Metadata
Metadata
Assignees
Labels
No labels