Proxy Rule Test

Kubernetes Proxy rules manage network traffic to and from Pods. The kube-proxy component runs on each node, handling requests to services by routing them to the appropriate Pod based on service selectors. It can operate in various modes (iptables, IPVS, etc.) to efficiently balance load, maintain service availability, and ensure seamless communication within the cluster.

Monitoring Kubernetes Proxy rules is essential for ensuring reliable service communication and performance. It helps detect routing issues, load imbalances, or network latency, allowing for proactive troubleshooting. Effective monitoring also ensures that services remain available and responsive, ultimately enhancing application reliability and user experience within the Kubernetes environment.

The Proxy Rule Test continuously monitors the Kubelet Proxy in the target node and reports key metrics like number of syncproxy rules, Syncproxy rule latency, endpoint changes etc. These metrics are invaluable for the administrators to ensure that service is up and prevent any issues in case service has problems.

Target of the test : A Kubernetes Worker Node

Agent deploying the test : A remote agent

Outputs of the test : One set of results for the target Kubernetes Worker node being monitored

Configurable parameters for the test

Parameter

Description

Test Period

How often should the test be executed.

Host

The IP address of the host for which this test is to be configured.

Port

Specify the port at which the specified Host listens. By default, this is 6443.

Timeout

Specify the duration (in seconds) beyond which the test will timeout in the Timeout text box. The default value is 10 seconds.

Metric URL

Each of the Kubernetes system components expose monitoring metrics through /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, refer official Kubernetes distribution documentation site. Specify the metric URL textbox.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Number of SyncProxyRules latency

Indicates the number of Sync proxy rules latency.

Number

Actively monitoring proxy rules latency, organizations can enhance system performance, user experience, and operational efficiency

 

Total SyncProxyRules latency

Indicates the latency of Sync Proxt rules.

Milliseconds

Cumulative proxy rules Endpoint changes

Indicates the cumulative proxy rules end points changes.

Number

Monitoring changes to proxy rules and endpoints is critical for ensuring the stability, performance, and security of your applications.

Cumulative proxy iptables restore failures

Indicates the cumulative proxy iptables restore failures.

Number

 

Total proxy iptables rules programmed

Indicates the total proxy iptables rules programmed.

Number

 

Time since sync proxy rules last queued

Indicates the time since sync proxy rules last queued.

Minutes

 

Time since proxy rules successfully synced

Indicates the time since proxy rules successfully synced.

Minutes

 

Cumulative proxy rules Service changes

Indicates the cumulative proxy rules Service changes.

Number

 

The detailed diagnosis of the Proxy iptables measure reveals the TableName and TotalValue.

Figure 1 : The detailed diagnosis of Pxoxy Iptables measure