-
Notifications
You must be signed in to change notification settings - Fork 382
Increase apiserver resource requests and limits #2581
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hi @jkbschmid. Thanks for your PR. I'm waiting for a kubernetes-incubator or kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/lgtm |
@jboyd01 |
Unless I've missed it, I think that documentation could be clearer to show how to set and update resource configurations, along with some example scenarios. |
Documentation on how to configure helm charts seems to be a bit beyond the scope of our project. Or do you mean a list of the possible things you can set in our helm chart? |
I'm sure the doc could be clearer, but I also think the limits are pretty tight. I'm all for bumping them up a bit by default. |
Do you expect much problems? We are talking about 10 MB we ask the scheduler in addition, right? Yes, it is configurable, but this exactly what you get per default if you just call We installed the service catalog in our development landscape and it ended up to restart every 30mins. The problem was that it lost all ServiceClusterBroker in the process. In our case, those defaults would have saved us quite some time. But I understand that it is hard/impossible to find the perfect default. |
Thanks for the quick replies! |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jberkhahn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
weird, the travis tests passed but the git robot isn't pulling the status for some reason. |
@jkbschmid as I reread this and discussed with @jberkhahn I feel obligated to reply with a clarification / elaboration. Any real use of service catalog probably deserves a more advanced deployment & configuration of etcd. As you have seen, if your Service Catalog API Server container is restarted for any reason you are going to loose your etcd storage. For anything other then "play" I'd encourage the setup of a HA etcd deployment with persistent storage and then configuring the Service Catalog API Server to use it. You may have already deduced this, but I wanted to be sure it was understood and I'll try to revisit the doc we have around that. |
This PR is a
What this PR does / why we need it:
We are using the service catalog with a catalog with two brokers and a catalog comprising a total of ~150 plans and ~5 services. With the default configuration, the apiserver is forcibly restarted every 30 mins by k8s due to an OOM error. This happens because the apiserver requires around ~35MB, but only has a resource memory limit of 30.
This PR increases the default memory resource request from 20 to 40 and the memory resource limit from 30 to 50 MB.
Merge Checklist:
breaking the chart release and existing clients who provide a
flag that will get an error when they try to update