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

Base offering too much for 1GB/1CPU single node pool #421

Open
micahg opened this issue Dec 5, 2022 · 1 comment
Open

Base offering too much for 1GB/1CPU single node pool #421

micahg opened this issue Dec 5, 2022 · 1 comment

Comments

@micahg
Copy link

micahg commented Dec 5, 2022

I have a single node (1GB/1vCPU) cluster that I run some very low-traffic stuff on.

Recently I had to upgrade to 1.23.10-do.0 – the upgrade was forced, but no big deal. However, when the upgrade finished the CPU requests exceeded the available CPU.

According to kubectl describe nodes, I get (this text is edited for simplicity):

...
Allocatable:
  cpu:                900m
...
  Name                                              CPU 
  ----                                              ----
  ingress-nginx-controller-7868b8f99b-7g8lp         100m
  cilium-ng6ww                                      310m
  cilium-operator-c9bf9575f-dtmfc                   100m
  coredns-d4c49d69-dwvx9                            100m
  coredns-d4c49d69-zlj79                            100m
  cpc-bridge-proxy-d22g9                            100m
  do-node-agent-z6p2v                               102m  

So, in the base deployment alone we have 912 CPU requested of an available 900. In my case, kubernetes decided the ingress controller was the best pod to keep down, so everything was effectively down.

To fix it, i manually lowered the CPU request for ingress to 50, but I am no concerned the base offering will not work after upgrade going forward. I expect I’ll have to make a manual correction after every future upgrade.

Is there a reasonable approach to fixing this so the base offering continues to work after upgrade? Without doubling my hosting costs I can’t get a system that offers enough CPU to meet the reservation requests on the base offering.

Thanks,

@micahg
Copy link
Author

micahg commented Dec 11, 2022

On the upside, it seems the changes stuck -- after subsequently upgrading to 1.23.14-do.0, ingress-nginx stayed at 50 and no intervention was needed.

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