-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
Ability to declare Kubernetes resources requests and limits through properties #12398
Comments
/cc @geoand |
@iocanel we have this capability in dekorate right? So we just need to expose it here |
Is a dedicated issue for the OpenShift extension needed? |
Nope, introducing the feature would be done generally |
I can see that in dekorate you can declare the information with these properties:
And for OpenShift, it's:
|
Right, so we just need to expose it to the Quarkus config system. @iocanel do you want to take this one? |
Appreciate guys, just tested this with 1.10.0.CR1 works great |
Reporting that I also tested it today and works great too! |
Thanks for testing and reporting back folks! |
Description
Kubernetes allows to specify how much resources (memory and cpu) a container needs to be executed. In addition to this, Kubernetes also allows you to enforce a limit on the amount of resources (again memory and cpu) that a container can use.
This information can be provided inside the following structure in the following yaml excerpt:
It'd be nice if the
quarkus-kubernetes
extension could generate these information using some properties. A proposed name and usage for these properties is:The text was updated successfully, but these errors were encountered: