-
Notifications
You must be signed in to change notification settings - Fork 26
Enable ACL resource consume scenario #1182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
realsdx
wants to merge
12
commits into
main
Choose a base branch
from
sudipta/enable-acl-bench
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a9d1602
add: acl-resource-consume scenario
realsdx fa7367b
update: aks-preview extension
realsdx 76141b3
fix: use tags for acl extra node pools
realsdx 77ffea5
update: try westus3 as region
realsdx 4ad69cc
update: add other resource consume tests
realsdx fd64770
update: remove acl custom BYOI scenario
realsdx 7ee16c1
fix: add missing newline at end of files in terraform inputs
realsdx 25c60b1
Merge branch 'main' into sudipta/enable-acl-bench
realsdx dc21f4d
update: change region to swedencentral
realsdx d445b94
update: remove azsecpack config
realsdx 68a87ad
chore: restore new pipeline test template
realsdx ac1399e
Merge branch 'main' into sudipta/enable-acl-bench
realsdx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
pipelines/perf-eval/CRI Benchmark/acl-resource-consume.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| trigger: none | ||
| pr: none | ||
|
|
||
| variables: | ||
| SCENARIO_TYPE: perf-eval | ||
| SCENARIO_NAME: acl-resource-consume | ||
|
|
||
| stages: | ||
| - stage: acl_resource_consume | ||
| displayName: ACL CRI resource consume (swedencentral) | ||
| dependsOn: [] | ||
| jobs: | ||
| - template: /jobs/competitive-test.yml | ||
| parameters: | ||
| cloud: azure | ||
| regions: | ||
| - swedencentral | ||
| engine: clusterloader2 | ||
| engine_input: | ||
| image: "ghcr.io/azure/clusterloader2:v20250513" | ||
| topology: cri-resource-consume | ||
| matrix: | ||
| n10-p300-memory: | ||
| node_count: 10 | ||
| max_pods: 30 | ||
| repeats: 1 | ||
| operation_timeout: 3m | ||
| load_type: memory | ||
| scrape_kubelets: True | ||
| os_type: linux | ||
| n10-p700-memory: | ||
| node_count: 10 | ||
| max_pods: 70 | ||
| repeats: 1 | ||
| operation_timeout: 7m | ||
| load_type: memory | ||
| scrape_kubelets: True | ||
| os_type: linux | ||
| n10-p1100-memory: | ||
| node_count: 10 | ||
| max_pods: 110 | ||
| repeats: 1 | ||
| operation_timeout: 11m | ||
| load_type: memory | ||
| scrape_kubelets: True | ||
| os_type: linux | ||
| max_parallel: 1 | ||
| timeout_in_minutes: 120 | ||
| credential_type: service_connection | ||
| ssh_key_enabled: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # ACL CRI Resource Consume | ||
|
|
||
| This scenario runs ACL AKS node performance validation through Telescope v1. | ||
|
|
||
| ## Pipeline | ||
|
|
||
| Register this YAML in Azure DevOps: | ||
|
|
||
| ```text | ||
| pipelines/perf-eval/CRI Benchmark/acl-resource-consume.yml | ||
| ``` | ||
|
|
||
| Queue it manually for validation runs. | ||
|
|
||
| ## Azure DevOps Inputs | ||
|
|
||
| The pipeline environment must provide `AZURE_SERVICE_CONNECTION`, `AZURE_SUBSCRIPTION_ID`, and `AZURE_TELESCOPE_STORAGE_ACCOUNT_NAME`. The service connection identity needs Contributor on the subscription for temporary resource groups and Storage Blob Data Contributor on the result storage account. Ensure the storage account has a `perf-eval` container, because Telescope uploads results to a container named after `SCENARIO_TYPE`. | ||
|
|
||
| ## ACL OS Selector | ||
|
|
||
| The current Terraform input uses the AKS CLI path and sets `--os-sku AzureContainerLinux` for the cluster and ACL node pools. |
118 changes: 118 additions & 0 deletions
118
scenarios/perf-eval/acl-resource-consume/terraform-inputs/azure.tfvars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| scenario_type = "perf-eval" | ||
| scenario_name = "acl-resource-consume" | ||
| deletion_delay = "2h" | ||
| owner = "aks" | ||
|
|
||
| aks_cli_config_list = [ | ||
| { | ||
| role = "client" | ||
| aks_name = "acl-resource-consume" | ||
| sku_tier = "standard" | ||
| kubernetes_version = "1.35" | ||
| use_aks_preview_cli_extension = true | ||
| aks_custom_headers = [] | ||
| default_node_pool = { | ||
| name = "default" | ||
| node_count = 3 | ||
| vm_size = "Standard_D16_v5" | ||
| } | ||
| extra_node_pool = [ | ||
| { | ||
| name = "prompool" | ||
| node_count = 1 | ||
| vm_size = "Standard_D16_v5" | ||
| optional_parameters = [ | ||
| { | ||
| name = "labels" | ||
| value = "prometheus=true" | ||
| }, | ||
| { | ||
| name = "os-sku" | ||
| value = "AzureContainerLinux" | ||
| }, | ||
| { | ||
| name = "enable-secure-boot" | ||
| value = "" | ||
| }, | ||
| { | ||
| name = "enable-vtpm" | ||
| value = "" | ||
| }, | ||
| ] | ||
| }, | ||
| { | ||
| name = "userpool0" | ||
| node_count = 10 | ||
| vm_size = "Standard_D16ds_v6" | ||
| optional_parameters = [ | ||
| { | ||
| name = "node-osdisk-type" | ||
| value = "Ephemeral" | ||
| }, | ||
| { | ||
|
Comment on lines
+44
to
+52
|
||
| name = "os-sku" | ||
| value = "AzureContainerLinux" | ||
| }, | ||
| { | ||
| name = "enable-secure-boot" | ||
| value = "" | ||
| }, | ||
| { | ||
| name = "enable-vtpm" | ||
| value = "" | ||
| }, | ||
| { | ||
| name = "node-taints" | ||
| value = "cri-resource-consume=true:NoSchedule,cri-resource-consume=true:NoExecute" | ||
| }, | ||
| { | ||
| name = "labels" | ||
| value = "cri-resource-consume=true" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| optional_parameters = [ | ||
| { | ||
| name = "network-plugin" | ||
| value = "azure" | ||
| }, | ||
| { | ||
| name = "network-plugin-mode" | ||
| value = "overlay" | ||
| }, | ||
| { | ||
| name = "node-init-taints" | ||
| value = "CriticalAddonsOnly=true:NoSchedule" | ||
| }, | ||
| { | ||
| name = "pod-cidr" | ||
| value = "10.0.0.0/9" | ||
| }, | ||
| { | ||
| name = "service-cidr" | ||
| value = "192.168.0.0/16" | ||
| }, | ||
| { | ||
| name = "dns-service-ip" | ||
| value = "192.168.0.10" | ||
| }, | ||
| { | ||
| name = "os-sku" | ||
| value = "AzureContainerLinux" | ||
| }, | ||
| { | ||
| name = "enable-secure-boot" | ||
| value = "" | ||
| }, | ||
| { | ||
| name = "enable-vtpm" | ||
| value = "" | ||
| }, | ||
| { | ||
| name = "node-os-upgrade-channel" | ||
| value = "None" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
4 changes: 4 additions & 0 deletions
4
scenarios/perf-eval/acl-resource-consume/terraform-test-inputs/azure.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "run_id" : "123456789", | ||
| "region" : "swedencentral" | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.