Skip to content

Conversation

vittoriasalim
Copy link
Contributor

@vittoriasalim vittoriasalim commented Jul 3, 2025

This PR adds an SLI (Service Level Indicator) test scenario to kperf for measuring the latency of read-only Kubernetes API calls, following the guidelines outlined in the [Kubernetes API call latency SLOs](https://github.com/kubernetes/community/blob/master/sig-scalability/slos/api_call_latency.md).

Test Scenario

  • Cluster setup: 10 virtual nodes, Standard_D16_v3, 3 physical nodes , --cpu 64 --memory 96 --max-pods 110
  • Workload: A single Kubernetes Job is deployed, creating 1,000 Pods distributed across the virtual nodes.

This scenario measures the latency of read-only operations on Pod resources:

  • staleList: Lists Pod resources without requiring quorum-level freshness.
  • staleGet: Retrieves a specific Pod resource using stale (non-quorum) data.

These request types are selected to evaluate the responsiveness of the API server under read load conditions.

#TODO: more resources (jobs, nodes, configmaps) to be added in next PR
image
image

@vittoriasalim vittoriasalim self-assigned this Jul 3, 2025
@vittoriasalim vittoriasalim requested a review from fuweid July 10, 2025 01:02
Copy link
Collaborator

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The 1 -> 10 suggestion can be handled in the follow-up

[]cli.Flag{
cli.IntFlag{
Name: "total",
Usage: "Total requests per runner (There are 10 runners totally and runner's rate is 1)",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Usage: "Total requests per runner (There are 10 runners totally and runner's rate is 1)",
Usage: "Total requests per runner (There are 10 runners totally and runner's rate is 10)",

@fuweid fuweid merged commit 081ecf7 into main Jul 15, 2025
4 checks passed
fuweid pushed a commit that referenced this pull request Jul 17, 2025
Addresses: [Review comment on PR
#183](#183 (review))
Adjust runner rate from 1 to 10 according to load profile
@vittoriasalim vittoriasalim deleted the 10nodes_read_only branch August 6, 2025 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants