Repository navigation
fio: Pull the AWS OS disk benchmark image from ECR - #1415
Open
Liyu Ma (liyu-ma) wants to merge 4 commits into
Open
Liyu Ma (liyu-ma) wants to merge 4 commits into
Liyu Ma (liyu-ma) wants to merge 4 commits into
Conversation
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>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Fio benchmark image-selection and execution changes.
No open issues 🎉
What changed in this PR
This PR switches the EKS OS disk Fio benchmark to a private Amazon ECR image while keeping Azure OS disk and NVMe benchmarks on their existing ACR image.
Changes:
- Passes an explicit Fio image from pipeline configuration through the execution templates to Python.
- Replaces standalone
kustomizecalls withkubectl kustomizeand enables shell pipeline failure detection. - Updates tests for image selection, empty-image validation, and job creation and cleanup commands.
| File | Description |
|---|---|
steps/topology/k8s-os-disk/execute-fio.yml |
Forwards the configured image to the Fio engine template. |
steps/engine/fio/execute.yml |
Requires an image parameter and passes it to Python. |
pipelines/perf-eval/Storage Benchmark/k8s-os-disk-fio.yml |
Selects ECR for AWS and preserves ACR for Azure. |
pipelines/perf-eval/Storage Benchmark/k8s-nvme-disk-fio.yml |
Explicitly retains the existing ACR image. |
modules/python/tests/test_fio.py |
Tests image propagation, validation, and updated commands. |
modules/python/fio/fio.py |
Applies the required image to jobs and uses kubectl kustomize for creation and cleanup. |
Review effort: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The Kubernetes OS Disk Fio benchmark now pulls its image from private Amazon ECR when running on EKS, removing its dependency on anonymous Azure Container Registry pulls. EKS uses the node’s existing IAM role; no new credentials or permissions are required. The Azure OS Disk and NVMe benchmarks continue to use their existing ACR image.
Some Azure DevOps agents do not have the standalone
kustomizebinary, sokustomize buildcan fail before the benchmark Job is submitted. Job creation and cleanup now usekubectl kustomize, which is bundled with thekubectlclient already installed on those agents.Validation
All four Fio benchmark cases passed in the AWS OS Disk Fio test run.