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

DietPi-Software | MicroK8s: High idle CPU load on RPi #5303

Closed
dmgolembiowski opened this issue Feb 21, 2022 · 4 comments
Closed

DietPi-Software | MicroK8s: High idle CPU load on RPi #5303

dmgolembiowski opened this issue Feb 21, 2022 · 4 comments

Comments

@dmgolembiowski
Copy link

Follow up issue on behalf of @silverraindog and @MichaIng related to the MicroK8s installation. I'm invested in a boot image for this so I'm opening this issue.

The details from the pull request included:

Thanks!

Can you verify it on your system via modinfo vxlan?

Yup, I see similar output to what you've posted.
TL;DR - I believe this was what they were talking about:

Hmm, reading though the linked solution from your link (https://github.com/k3s-io/k3s/issues/4234) indicates that on Ubuntu it was the missing `vxlan` kernel module, which is indeed shipped with that package on Ubuntu: https://packages.ubuntu.com/linux-modules-extra-raspi

With the official Raspberry Pi kernel we use, it is however shipped OOTB:

# modinfo vxlan
filename:       /lib/modules/5.10.92-v7+/kernel/drivers/net/vxlan.ko
alias:          rtnl-link-vxlan
description:    Driver for VXLAN encapsulated traffic
author:         Stephen Hemminger <[email protected]>
version:        0.1
license:        GPL
srcversion:     A772666323B3A673FA6A7F1
depends:        udp_tunnel,ip6_udp_tunnel
intree:         Y
name:           vxlan
vermagic:       5.10.92-v7+ SMP mod_unload modversions ARMv7 p2v8
parm:           udp_port:Destination UDP port (ushort)
parm:           log_ecn_error:Log packets received with corrupted ECN (bool)
2022-02-17 04:39:51 root@micha:/var/log# modinfo vxlan
filename:       /lib/modules/5.10.92-v7+/kernel/drivers/net/vxlan.ko
alias:          rtnl-link-vxlan
description:    Driver for VXLAN encapsulated traffic
author:         Stephen Hemminger <[email protected]>
version:        0.1
license:        GPL
srcversion:     A772666323B3A673FA6A7F1
depends:        udp_tunnel,ip6_udp_tunnel
intree:         Y
name:           vxlan
vermagic:       5.10.92-v7+ SMP mod_unload modversions ARMv7 p2v8
parm:           udp_port:Destination UDP port (ushort)
parm:           log_ecn_error:Log packets received with corrupted ECN (bool)

Can you verify it on your system via modinfo vxlan?

Originally posted by @MichaIng in #5239 (comment)

Thanks!

Can you verify it on your system via modinfo vxlan?

Yup, I see similar output to what you've posted.
...
Merging this now, so we can test on dev branch. We can fine tune via dedicated PRs/commits.


Anything I can do to help debug?

@MichaIng
Copy link
Owner

Can you check journalctl and in case logs files in /var/log/pods for hints? The vxlan module is present OOTB with our kernel, so your issue is not related to the linked one from the K3s repo.

@MichaIng MichaIng changed the title Unmet Requirement for MicroK8S Installation DietPi-Software | MicroK8s: High idle CPU load on RPi Feb 26, 2022
@MichaIng MichaIng modified the milestones: v8.2, v8.3 Mar 5, 2022
@MichaIng MichaIng removed this from the v8.3 milestone Mar 26, 2022
@MichaIng
Copy link
Owner

@dmgolembiowski
Is this still an issue without our current MicroK8s implementation?

@dmgolembiowski
Copy link
Author

Sorry, I haven't tested this yet.

@MichaIng
Copy link
Owner

MichaIng commented Apr 3, 2022

I'll mark this as closed for now. In the meantime next Linux LTS is available on most SBCs, so if the issue persists, let's open a new issue with fresh logs and comparison with other systems where CPU load is significantly lower.

@MichaIng MichaIng closed this as completed Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants