We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This needs some polishing:
requests { request("cpu") { quantity("500m") } request("memory") { quantity("250Mi") } } limits { limit("cpu") { quantity("1000m") } limit("memory") { quantity("500Mi") } }
Would be nice to have this:
requests { cpu(500, [MILLICPU, MILLICORES]) memory(250, [E, P, T, G, M, K, Ei, Pi, Ti, Gi, Mi, Ki]) }
With m and Mi being values of enums.
The text was updated successfully, but these errors were encountered:
might be better/cleaner to solve this with an extension function
resources( cpuRequest="500m", memoryRequest="250Mi", cpuLimit="1000m", memoryLimit="500Mi" )
Sorry, something went wrong.
it may be needed to model the unit, to allow for smart policies to set limit, e.g. maxMemory(10, G)
No branches or pull requests
This needs some polishing:
Would be nice to have this:
With m and Mi being values of enums.
The text was updated successfully, but these errors were encountered: