Help Docs

Kubernetes kube-proxy monitoring 

Kube-proxy is essential for managing network traffic in your Kubernetes cluster, guaranteeing smooth communication among services and pods. Keeping an eye on kube-proxy is important for preserving network reliability, enhancing efficiency, and resolving connectivity problems.

Track key metrics such as:

  • Connection latency to identify network bottlenecks.

  • IPTables and IPVS rule processing to ensure efficient traffic routing.

  • Resource consumption (CPU, memory, and network usage) to prevent overloads.

  • Livez (liveness probe) and healthz (general health check) statuses to ensure kube-proxy is running and properly configuring networking rules.

By continuously monitoring kube-proxy, you can proactively detect network disruptions, optimize service performance, and maintain a resilient Kubernetes networking layer. 

Supported versions 

This feature is supported by the Linux server monitoring agent version 20.0.0 and above.

Control plane monitoring and the other latest features require you to upgrade your Kubernetes agent to the latest version.

Note

If you haven't added a Kubernetes monitor yet, follow these steps to add one.

Kube-proxy monitors   

As soon as you upgrade it, the Site24x7 Kubernetes monitoring agent will fetch all the kube-proxy metrics.

To navigate to your Kubernetes kube-proxy monitor:

  1. Log in to your Site24x7 account.

  2. Navigate to K8s, select the relevant cluster, and click Kube-Proxy. This will open the list of kube-proxy monitors in the particular cluster. Click one to view the detailed insights into that monitor. 

 Supported metrics  

Client title Description Unit
Process CPU Time The CPU time consumed by the kube-proxy process during the last poll interval Seconds
Process Resident Memory The amount of resident memory in bytes used by the kube-proxy process during the last poll interval Bytes
Process Virtual Memory The amount of virtual memory in bytes used by the kube-proxy process during the last poll interval Bytes
Process Open File Descriptors The number of file descriptors opened by the kube-proxy process during the last poll interval Count
Go Threads The number of OS threads created by the Go runtime of the kube-proxy process during the last poll interval Count
Go Routines The number of Go routines that currently exist for the kube-proxy process Count
Average Auth Execution Plugin Client Certificate Age The average duration that the last Auth Execution Plugin Client Certificate lived before being rotated during the last poll interval Seconds
Total Auth Execution Plugin Client Certificate Age The duration that the last Auth Execution Plugin Client Certificate lived before being rotated during the last poll interval Seconds
Auth Execution Plugin Client Certificate Lived The total number of Auth Execution Plugin Client Certificates that lived before being rotated during the last poll interval Count
Client Certificate Shortest TTL The shortest time to live (TTL) of the Client Certificates managed by the Auth Execution Plugin Seconds
Total Sync Proxy Rules Latency The sum of the Sync Proxy Rules' latency during the last poll interval Seconds
Sync Proxy Rules The number of Sync Proxy Rules that experienced latency during the last poll interval Count
Average Sync Proxy Rules Latency The average duration of the Sync Proxy Rules' latency during the last poll interval Seconds
Pending Endpoint Changes The number of pending Proxy Rules endpoint changes Count
Total Pending Endpoint Changes The total number of Proxy Rules endpoint changes Count
Total IPTables Restore Failure The total number of Proxy IPTables restore failures Count
IPTables Restore Failure The number of Proxy IPTables restore failures during the last poll interval Count
Proxy Rules Last Queued Time The last time a sync of Proxy Rules was queued Date and time
Proxy Rules Last Successful Sync Time The last time Proxy Rules were successfully synced Date and time
Total IPTables Rules The number of programmed Proxy IPTables Rules Count
Pending Proxy Rules Service Changes The number of pending Proxy Rules Service changes Count
Proxy Rules Service Changes The number of Proxy Rules Service changes during the last poll interval Count
Cumulative Proxy Rules Service Changes The total number of Proxy Rules Service changes Count
Total Network Programming Latency The total duration of the cluster's Network Programming Latency during the last poll interval Seconds
Network Programming The number of cluster Network Programming processes that happened during the last poll interval Count
Network Programming Latency The difference between the duration of the current and the previous Network Programming Latency during the last poll interval Seconds
KubeProxy Process Start Time The start time of the process since the Unix epoch Date and time
Healthz Status Check The health checks that are used to determine whether the component is functioning correctly Status
Livez Status Check The liveness probe that determines if a container is still running properly Status
Rest Client Requests by Verb
Verb The verb action of the request Text
Requests Duration The duration of the request latency, partitioned by the verb Seconds
Requests The number of HTTP requests, partitioned by the verb Count
Rest Client Request Duration by Host and Verb
Host The hostname of the service Text
Verb The verb action of the request Text
Requests Duration The duration of the request latency, partitioned by the host and the verb Seconds
Rest Client Requests by Response Code
Response Code The response code number for the request Number
Requests The number of HTTP requests, partitioned by the response code Count
Rest Client Requests by Host and Verb
Host The hostname of the service Text
Verb The verb action of the request Text
Requests The number of HTTP requests, partitioned by the host and the verb Count
Rest Client Requests by Host and Code
Host  The hostname of the service Text
Response Code The response code number for the request Number
Requests The number of HTTP requests, partitioned by the host and the response code Count

Related links 

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!