-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
split large configuration file #7234
Comments
/cc @wangyysde |
/kind feature |
maybe relates to #7232 |
This seems a good approach, but will need some effort to implement. If someone wants to tackle on this one after we merge the support for v1 API in ingress nginx I would be glad to review it :) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
I have done some thinking, but in this project, if we split the configuration file, what will be the benefit? |
In the context of this project, the user is modifying and maintaining Ingress resources, not directly on the configuration file. I haven't thought of the benefits it can bring. cc @rikatz |
Hi @tao12345666333 if I understand it correctly splitting configuration file can reduce the memory consumption. Because the current strategy is to render the whole configuration file, so if there are many ingress resources, the configuration will be very large and frequent changes can cause excessive consumption. Thanks. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
/assign |
/triage accepted |
@rikatz Are you preparing a PR for this? I try to do it if you are not work for it. |
@wangyysde if you can work on it, I will be happy to review :) right now I'm not working on it |
@rikatz ok ,then I will try to work on it. |
/assign |
Sharding is a better approach, it also address the issue with reload becoming costly. The term "sharding" I means, there are multiple instances of Ingress Controller, each manage a subset of Ingress resources and so it have smaller configuration files, faster reload, and perhaps reduce overall memory consumption ... But the challenge is: how to dynamically route requests to relevant instances, perhaps we need another level of dynamic routing. |
I'm experiencing the same problem, please ask if this issue is being looked at and if there will be any subsequent updates |
we have more than 10000+ site ,the nginx.conf so big about 500M
The text was updated successfully, but these errors were encountered: