Skip to content
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

Add requests/limits to KubePlus containers in the KubePlus chart #1285

Closed
Tracked by #683
devdattakulkarni opened this issue May 29, 2024 · 1 comment
Closed
Tracked by #683

Comments

@devdattakulkarni
Copy link
Contributor

KubePlus Pod can get terminated if the cluster runs out of disk space. The following error showed up in the production of one of our customer clusters.

Warning Evicted 5m8s kubelet The node was low on resource: ephemeral-storage. Threshold quantity: 2146223340, available: 1151200Ki. Container kubeconfiggenerator was using 61360Ki, request is 0, has larger consumption of ephemeral-storage. Container consumerui was using 6Mi, request is 0, has larger consumption of ephemeral-storage. Container helmer was using 7536Ki, request is 0, has larger consumption of ephemeral-storage. Container platform-operator was using 16Ki, request is 0, has larger consumption of ephemeral-storage. Container crd-hook was using 5Mi, request is 0, has larger consumption of ephemeral-storage.

We should add requests (and possibly limits) to containers in KubePlus chart.
https://github.com/cloud-ark/kubeplus/blob/master/deploy/kubeplus-chart/templates/kubeplus-components-6.yaml

@devdattakulkarni devdattakulkarni mentioned this issue Jun 4, 2024
16 tasks
@devdattakulkarni
Copy link
Contributor Author

Based on the above error, we can start with the following resource (memory) requirements.
kubeconfiggenerator: 65Mi
consumerui:10Mi
helmer:10Mi
platform-operator:5Mi
crd-hook:10Mi

For now, we can only add requests for memory. If we encounter similar error for CPU resource, we can add CPU requests/limits in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant