Skip to content

Add Workload Identity webhook benchmark pipeline - #1371

Merged
Liyu Ma (liyu-ma) merged 24 commits into
v2from
wi-web-bench
Nov 16, 2026
Merged

Liyu Ma (liyu-ma) merged 24 commits into
v2from
wi-web-bench

Conversation

@liyu-ma

@liyu-ma Liyu Ma (liyu-ma) commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add a manually triggered Workload Identity webhook benchmark on a fresh H2 AKS cluster in australiaeast, with Kubernetes 1.36, OIDC, and workload identity enabled.
  • Run kperf runner per phase at target rates of 100/150/200/250 Pod CREATEs/sec
  • Create workload Pods in a separate namespace per rate, with the WI opt-in label and a ServiceAccount annotated with a dummy client ID.
  • Kperf runner result is printed to ADO output.

Validation

  • Compiled all 10 pipelines with KCL 0.13 and verified byte-for-byte agreement with committed YAML.
  • Checked all 34 generated WI shell scripts with bash -n, rendered all four rate profiles, and checked whitespace.
  • Test run with AzureDevOps

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

xinWeiWei24
xinWeiWei24 previously approved these changes Nov 4, 2026

@xinWeiWei24 xinWeiWei24 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Liyu Ma (liyu-ma) and others added 7 commits November 6, 2026 12:27
Use a pinned kperf profile for an exploratory H2 600-create/sec benchmark, with smoke checks, bounded execution, result artifacts, and explicit cluster retention.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Run one custom load profile directly from the ADO agent, reuse Telescope utilities, and regenerate pipeline YAML with KCL 0.13. Remove obsolete orchestration and preflight checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Install pinned aks-preview 20.0.0b6 in the cluster-creation task to support the H2 scaling argument. Regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move the thin runner wrapper into run_benchmark.k, print native results, and use a caller-owned ADO timeout. Reduce traffic to 400 creates per second and remove redundant benchmark labels. Regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a fake client ID for admission-only benchmark Pods, remove the redundant managed-identity flag, and configure three Standard_D4_v4 system nodes. Update documentation and regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add paired existing-cluster parameters, idempotent WI preparation, and safe retention of reused resource groups. Enable managed Prometheus during cluster creation, update the pinned kperf image to sha-38567a6, and regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Run 50, 100, and 200 Pod CREATEs per second for ten minutes each. Clean up phase-owned Pods and pause five minutes after every run, preserving failure propagation and existing-cluster retention. Update documentation and regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Liyu Ma (liyu-ma) and others added 15 commits November 6, 2026 12:27
Provision the monitoring workspace in the cluster resource group before AKS creation. Skip provisioning for reused clusters and apply the existing keep_cluster cleanup lifecycle to the workspace. Update documentation and regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Prepare namespaces and ServiceAccounts idempotently for each rate on new and reused clusters. Request namespace deletion without waiting, preserve five-minute pauses and failure guards, and regenerate YAML with KCL 0.13.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update phase display names, generated pipeline, and capacity estimates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Extract per-rate BenchmarkSteps, inline kperf execution, and use shared timestamp and ASI helpers. Simplify resource-group cleanup gating while preserving collision protection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove cluster reuse parameters and lifecycle flags, always attempt phase cleanup and pauses, and remove the scenario README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Guard namespace cleanup when kubeconfig is unavailable and update the aks-preview pin to 21.0.0b17.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Wait up to ten minutes for namespace deletion, preserve the five-minute recovery pause, and mark cleanup failures as non-blocking.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the three-node system pool for the admission-only workload and regenerate pipeline YAML.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Print runner-group results directly to ADO logs without writing result files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@liyu-ma
Liyu Ma (liyu-ma) merged commit 89f0290 into v2 Nov 16, 2026
6 of 7 checks passed
@liyu-ma
Liyu Ma (liyu-ma) deleted the wi-web-bench branch November 16, 2026 02:14
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.

4 participants