question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High Kube API Server Usage 600+ req/sec

See original GitHub issue

What happened:

I’m seeing extremely high CPU usage across multiple clusters that have this deployed. High request rate to the Kube API Server for WATCH pod and WATCH namespaces.

600-700 requests/sec, 8 weeks ago I was at 1.2k requests/second and 12 weeks ago over 2k requests/sec.

I’ve also witnessed that the fluentd CPU usage has been high during this same period, likely correlated.

What you expected to happen:

Not for it to make so many request/per second

How to reproduce it (as minimally and precisely as possible):

Unsure yet, still investigating. As far as I can tell my configuration is standard, nothing out of the ordinary beyond the basic setup.

Anything else we need to know?:

A restart of the fluentd-hec container fixes the problem. It appears something is in a tight failure loop and is constantly spawning requests to the kube-apiserver

Environment:

  • Kubernetes version (use kubectl version): 1.5.10
  • Ruby version (use ruby --version):
  • OS (e.g: cat /etc/os-release): rancher-os
  • Splunk version:
  • Others:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ekristencommented, Jun 24, 2020

Dupe of #359. 1.4.1 seems to have fixed. Thanks.

0reactions
matthewmodestinocommented, Jun 24, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

1906151 – High CPU/Memory usage of Kube API server ...
v2.6.0 nmstate-handler pods are still hot on CPU and over kube-apiserver CPU usage is around 30 cores (per apiserver) and memory consumption is...
Read more >
kube-apiserver - Kubernetes
The Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others.
Read more >
Heavy performance impact when using traefik on kubernetes
Hey, we are running traefik v2 2.5.4 (Chart version 10.6.2) on our kubernetes cluster as ingress. We use custom CRDs to define IngressRoutes ......
Read more >
SPRIGHT: Extracting the Server from Serverless Computing ...
We creatively use eBPF's socket message mechanism to support ... kubelet apiserver. External requests ... ∼5500 req/sec (Fig.
Read more >
kube-apiserver in Rancher cluster consuming insane ... - Reddit
If we restarted kube-apiserver, it would fix that node, but the high-memory-usage would shift to another one. At the time, each node had ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found