by aksels · 8y ago · 0 comments
kube-system is taking about 730 mCPU of the node's 2000 mCPU.
The issue is that the kube-system is deployed on each node of the pool so (tell me if I misunderstood/misconfigured something). If you have a pool of 3 nodes which have 1 vCPU each, with kube-system taking approximately 700 mCPU on each you have only 300 * 3 = 900 mCPU allocatable.
If you have any tips on how I could reduce the costs of my personal projects I'm listening !
https://github.com/kubernetes/kubernetes/pull/67504
Still not sure if these are the configuration files that GKE uses behind the scenes, but the author is a Google employee.
For logging, you could use FluentBit which is more lightweight: https://docs.fluentbit.io/manual/output/stackdriver
Most of the CPU usage is kube-dns, which I think requires much less CPU if you make few internal network connections.