Skip to content

Tweaked vSwarm deployer#604

Merged
leokondrashov merged 6 commits intomainfrom
new-vswarm-deployer
Mar 7, 2025
Merged

Tweaked vSwarm deployer#604
leokondrashov merged 6 commits intomainfrom
new-vswarm-deployer

Conversation

@aryans1204
Copy link
Contributor

@aryans1204 aryans1204 commented Feb 10, 2025

Summary

A small summary of the requirements (in one/two sentences).

Implementation Notes ⚒️

  • Briefly outline the overall technical solution. If necessary, identify talking points where the reviewer's attention should be drawn to.
    Goal of this PR is to add functionality in the loader to be able to execute vSwarm functions from a mapper_output.json file.

The added functionality pertains to:

  1. Added parsing capabilities under pkg/trace/mapper_trace_parser.go to parse mapper_output.json files and extract vSwarm functions.
  2. Added deployment capability under pkg/driver/deployment/knative.go to correctly deploy vSwarm functions, and a yamls.tar.gz tarball that contains the YAML files for all the vSwarm functions. Documentation about this tarball is embedded inside the tarball.

This extends upon the work done previously on the invoker, to be able to execute vSwarm functions. With the merge of this PR, vSwarm functions will be able to be executed from the loader, by specifying config options.

Added parsing, and deployment functionality to run vSwarm functions using Invitro loader, based on mapper output.

External Dependencies 🍀

Breaking API Changes ⚠️

Simply specify none (N/A) if not applicable.

@aryans1204 aryans1204 requested review from cvetkovic and leokondrashov and removed request for leokondrashov February 10, 2025 11:57
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

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

Please explain in details why and what are you doing in the PR description. The template is there for a reason.

I don't see any documentation in the changes as well. There should be something about the feature, file formats (you are introducing several).

@aryans1204 aryans1204 requested a review from cvetkovic February 12, 2025 13:57
cvetkovic
cvetkovic previously approved these changes Feb 12, 2025
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

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

Please add docs on all files that you add as inputs to the execution. I have no idea how to get deploy_info and deployment yamls for a new set of benchmarks. What are the requirements for those benchmarks (use the relay from vSwarm, at least). Where is each file should be placed to be properly found by the loader.

@aryans1204 aryans1204 force-pushed the new-vswarm-deployer branch 2 times, most recently from 5c945cf to b8d098b Compare February 24, 2025 06:18
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

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

Looks better. Please ask @cvetkovic and @JooyoungPark73 for review as well

@aryans1204 aryans1204 requested a review from cvetkovic February 27, 2025 16:18
@aryans1204
Copy link
Contributor Author

@cvetkovic do you have any other comments?

@aryans1204 aryans1204 force-pushed the new-vswarm-deployer branch from a231f5b to d5ca597 Compare March 4, 2025 16:26
@cvetkovic
Copy link
Contributor

@cvetkovic do you have any other comments?
No. @leokondrashov: Approve the PR if all good.

leokondrashov
leokondrashov previously approved these changes Mar 7, 2025
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added tests to CI and formatted code

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixing the E2E test for vSwarm loader

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Extracted vSwarm mock server from standard workload

Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixed loader e2e tests

Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>

Beautified code according to Invitro standards

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added deployment of predeployment commands for vSwarm benchmarks

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Removed erroneous E2E testfile

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added cleanup for kubectl pods

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixed trace unit test

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Changed function identifier to include hashOwner and hashApp

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added docs for deploy_info

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixed spelling errors

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added docs for deploy info file generation

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Created spelling fix for loader docs

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Changed pre-deployment to Go command from bash script

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Impoved documentation

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Impoved documentation with spellcheck

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Improved documentation

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixed spellcheck in documentation

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Updated docs

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Changed log.Warn to log.Fatal

Signed-off-by: aryans1204 <arshar1204@gmail.com>
@leokondrashov leokondrashov merged commit 7686583 into main Mar 7, 2025
15 checks passed
@leokondrashov leokondrashov deleted the new-vswarm-deployer branch March 7, 2025 08:43
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