Skip to content

oadm router should let me specify --requests and --limits #8328

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

Closed
derekwaynecarr opened this issue Apr 1, 2016 · 6 comments
Closed

oadm router should let me specify --requests and --limits #8328

derekwaynecarr opened this issue Apr 1, 2016 · 6 comments

Comments

@derekwaynecarr
Copy link
Member

The oadm router command should promote users specifying --requests and --limits for cpu and memory as it is a piece of critical infrastructure that should not run with best effort quality of service on nodes.

The system should warn users that running a router with no requests and limits is bad practice in production.

Documentation should emphasize that this is bad practice.

/cc @pweil- @ncdc @eparis @smarterclayton

@knobunc knobunc assigned knobunc and unassigned knobunc Apr 5, 2016
JacobTanenbaum added a commit to JacobTanenbaum/origin that referenced this issue Apr 13, 2016
Add the ability to specify resource quotas on a router when it is
created using the "oadm router" command. When creating a router
without requests or limits oadm returns a warning that it is not
recommended to run a router without resource quotas.

addresses: openshift#8328
JacobTanenbaum added a commit to JacobTanenbaum/origin that referenced this issue Apr 13, 2016
Add the ability to specify resource quotas on a router when it is
created using the "oadm router" command. When creating a router
without requests or limits oadm returns a warning that it is not
recommended to run a router without resource quotas.

if the limits or requests are not not passed the the router is still
built but a warning is returned that it is not advised to run a router
without requests and limits in a production environment

Also adds the flags help text to oadm help router

addresses: openshift#8328
@eparis
Copy link
Member

eparis commented Apr 14, 2016

Should the same be true of the registry? @detiber does the installer set limits/requests or allow them to be set?

@pweil-
Copy link

pweil- commented Apr 14, 2016

Should the same be true of the registry

Yes #8329

JacobTanenbaum added a commit to JacobTanenbaum/origin that referenced this issue Apr 14, 2016
Add the ability to specify resource quotas on a router when it is
created using the "oadm router" command. When creating a router
without requests or limits oadm returns a warning that it is not
recommended to run a router without resource quotas.

if the limits or requests are not not passed the the router is still
built but a warning is returned that it is not advised to run a router
without requests and limits in a production environment

Also adds the flags help text to oadm help router

addresses: openshift#8328
@detiber
Copy link
Contributor

detiber commented Apr 14, 2016

@eparis it does not currently, once the command line support for this lands, we can add the ability to set it (for versions of Origin/OSE that support the flags)

@knobunc knobunc assigned JacobTanenbaum and unassigned knobunc Oct 7, 2016
@pweil-
Copy link

pweil- commented Jun 26, 2017

request/limit is now included as a default part of the object that is generated by the command. Being able to set it during creation would still be a good enhancment

@smarterclayton
Copy link
Contributor

smarterclayton commented Jun 27, 2017 via email

@pweil-
Copy link

pweil- commented Jun 27, 2017

I think we said that if you need this you can pipe

sgtm

@pweil- pweil- closed this as completed Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants