Scheduler HTTP Clients Test

The Kubernetes scheduler HTTP client is responsible for making HTTP requests to the Kubernetes API server to interact with cluster resources. It fetches information about nodes, pods, and their statuses, sends scheduling decisions, and updates pod assignments. This client ensures proper communication between the scheduler and the cluster's control plane, enabling the efficient placement of pods based on resource availability and constraints. The HTTP client helps maintain smooth and reliable operation of the scheduler's decision-making process.

Monitoring the scheduler HTTP client ensures reliable communication with the API server. It helps identify issues like failed requests, timeouts, or network failures, preventing disruptions in scheduling decisions and ensuring efficient pod placement and cluster functionality.

This test monitors the Scheduler HTTP clients and reveals key metrics like total number of requests, request latency etc. for both GET and POST requests. These metrics are crucial to ensuring uninterrupted connectivity to the server. By analyzing the metrics the administrators can ensure that clients are able to connect to the server and take preemptive actions if any certificate is about to expire.

Target of the test : A Kubernetes Master Node

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each client of target Kubernetes Master 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.

Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Requests

Indicates the total number of requests by HTTP clients to scheduler.

Number

If the number of requests is too high the scheduler can get overloaded serving these requests.

Total request latency

Indicates the total request latency across all requests received by scheduler.

Milliseconds

The request latency should be under limit.

Average request latency

Indicates the average request latency across all requests received by scheduler.

Milliseconds