microk8s icon indicating copy to clipboard operation
microk8s copied to clipboard

addon hostpath-storage: Provisioning Volumes needs 1 cpu

Open markussiebert opened this issue 3 years ago • 2 comments

Summary

Using the hostpath provisioner on small nodes is not possible, as the provisioning pod requests one cpu, even if it's only executing a small shell script.

What Should Happen Instead?

The provisioner should start without requesting 1 cpu

Reproduction Steps

Create a pv

Can you suggest a fix?

It should be configurable how much cpu the hostpath provisioner pod requests

Are you interested in contributing with a fix?

yes, but I don't know where the repo of the provisioner is

markussiebert avatar Jul 08 '22 19:07 markussiebert

I have build a fix fort this https://github.com/canonical/hostpath-provisioner/pull/4

markussiebert avatar Jul 08 '22 20:07 markussiebert

Thank you for this fix. We have reviewed the PR and will be merging it soon (this also includes image uploading and updating the respective manifest).

ktsakalozos avatar Jul 18 '22 09:07 ktsakalozos