rkubelog
rkubelog copied to clipboard
Too much CPU
I have a single-node k3s cluster running on Debian 10, which is a KVM guest. When I start rkubelog from quay.io/solarwinds/rkubelog:r19rc2
, the top
shows this:
PID PPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
516 1 root 20 0 1389540 675600 91012 S 105.1 16.7 188:53.56 k3s-server
559 516 root 20 0 825884 138232 72760 S 20.3 3.4 21:10.84 containerd
24547 24408 1001 20 0 730104 33336 18148 S 8.5 0.8 0:43.75 rkubelog
The CPU is constantly very high, loadavg rises to 6 or 7, even when there are exactly two messages per minute sent to Papertrail. When I delete the rkubelog Deployment, the CPU drops down.
I only set PAPERTRAIL_PROTOCOL=tls
, PAPERTRAIL_HOST=...
, PAPERTRAIL_PORT=number
env vars.
Is there a known cause, please?