-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Reduce memory footprint by removing unnecessary cloud provider plugins at runtime #78271
Comments
@frolickingferret445: There are no sig labels on this issue. Please add a sig label by either:
Note: Method 1 will trigger an email to the group. See the group list. 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. |
@sig-cloud-provider |
@kubernetes/sig-cloud-provider |
@kubernetes/sig-cloud-provider-maintainers |
/sig cloud-provider-maintainers |
/assign @andrewsykim |
also interested in small memory footprints 🙃 |
kubeadm is a node boostrapper. if kubernetes supports cloud-controller-manager as a DaemonSet then kubeadm supports it too. except that we don't have a guide for that.
you still have to use the kubeadm config to pass extraArgs to the control-plane components.
this guide runs the cloud-controller-manager as a static pod.
will leave the memory footprint questions to sig-cloud-provider. :) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
you can exclude all of them at build time now, the CCM is the way forward though as all cloud providers are going out of tree |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
/lifecycle frozen |
tracked already kubernetes/enhancements#88 (comment) /close |
@dims: Closing this issue. In response to this:
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 am interested in reducing the memory footprint of kubernetes if possible. From what I gather, by default, kubernetes runs with plugins for all cloud providers. I’ve looked into https://k3s.io/ and it mentions that it removes unnecessary in-tree cloud providers and storage drivers. However, it doesn’t offer other important features, so I’d prefer to stick to my existing installation process (with perhaps a couple of additional steps).
Is there a way to do this? (preferably with kubeadm)
I discovered a daemonset called cloud-controller-manager (beta feature) which pulls out some of the cloud-specific tasks from kube-controller-manager.
https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/
However, it still has a cloud-provider command-line flag. Does cloud-controller-manager reduce the memory footprint by only loading plugins for the necessary cloud provider?
I looked into using kubeadm to install cloud-controller-manager, but it seems that it isn’t yet supported, probably because it’s a beta feature. All of the controller-manager flags are for kube-controller-manager:
https://kubernetes.io/docs/setup/independent/control-plane-flags/
It sounds like I could get this working with a few extra steps similar to this :
https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/using-controller-manager-with-kubeadm.md
Right?
Any help would be appreciated, thanks.
@kubernetes/sig-cloud-provider-maintainers
The text was updated successfully, but these errors were encountered: