Repository navigation
Improve deployment workload support in CRUD benchmarking framework #879
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cb550ad
feat: add deployment workload to CRUD module
diamondpowell bc1f996
feat: wire deployment through pipeline topology
diamondpowell 8c889ff
fix: await Azure LRO poller to prevent scale race condition
diamondpowell ac30cca
test: add unit tests for deployment CRUD operations
diamondpowell 20eb37b
refactor: chain .result() directly to match create/delete pattern
diamondpowell 3286a93
fix: address Copilot review feedback on deployment workload
diamondpowell f56b5d2
fix: gate deployment step on azure cloud and use non-GPU VM for test …
diamondpowell 0fe7641
fix: make --manifest-dir optional (defaults to built-in template)
diamondpowell a3808a9
fix: add deployment defaults to GPU pipeline matrix for Azure stages
diamondpowell 07890a3
fix: simplify deployment error logging by merging duplicate branches
diamondpowell 134b2f2
refactor: remove redundant outer try/except in create_deployment
diamondpowell fd25a90
refactor: extract _apply_deployment helper from create_deployment loop
diamondpowell 48a1939
ci: configure new-pipeline-test.yml for CRUD deployment testing
diamondpowell 1141989
fix: only set gpu_profile when gpu_node_pool is true
diamondpowell e0bf61f
refactor: extract workload_common_parser for shared workload args
diamondpowell 4b40b0d
revert: restore new-pipeline-test.yml after successful CRUD pipeline …
diamondpowell 3d77533
style: add blank lines before _apply_deployment and create_deployment…
diamondpowell 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
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
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
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,33 @@ | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: myapp-{{NODE_POOL_NAME}}-{{INDEX}} | ||
| labels: | ||
| app: {{LABEL_VALUE}} | ||
| spec: | ||
| template: | ||
| metadata: | ||
| labels: | ||
| app: {{LABEL_VALUE}} | ||
| spec: | ||
| containers: | ||
| - name: {{LABEL_VALUE}} | ||
| image: mcr.microsoft.com/oss/nginx/nginx:1.21.6 | ||
| ports: | ||
| - containerPort: 80 | ||
|
diamondpowell marked this conversation as resolved.
Resolved
|
||
| replicas: {{DEPLOYMENT_REPLICAS}} | ||
| selector: | ||
| matchLabels: | ||
| app: {{LABEL_VALUE}} | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
| metadata: | ||
| name: myapp-{{NODE_POOL_NAME}}-{{INDEX}} | ||
| spec: | ||
| ports: | ||
| - port: 80 | ||
| name: myapp | ||
| clusterIP: None | ||
| selector: | ||
| app: {{LABEL_VALUE}} | ||
Oops, something went wrong.
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.