hobby-kube / provisioning

Kubernetes cluster provisioning using Terraform.
https://hobby-kube.dev/guide
MIT License
312 stars 112 forks source link

high cpu usage of weave #53

Closed blinkeye closed 4 years ago

blinkeye commented 5 years ago

I can't explain why, but following a simple hcloud 4 server setup weave is acting out. Whenever I run a custom kafka producer which puts twitter json data into a kafka cluster weave eats more CPU than kafka producer itself.

image

It's reproducible on all 3 worker nodes. I also upgraded a node to have more CPU power but the behavour is the same: image

Any ideas? I don't observer this behaviour with my own PROD Hetzner K8s cluster with a similar (but manual) setup.

pstadler commented 4 years ago

What are the differences between your productive cluster and your Hobby Kube installation? Are you using WireGuard on your other cluster as well? Hetzner Cloud now offers private networking, maybe you could disable WireGuard and check whether the CPU impact is caused by it. I'm really curious.