Skip to content
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

C2D.2: Orchestration layer #422

Closed
alexcos20 opened this issue May 13, 2024 · 0 comments · May be fixed by #705
Closed

C2D.2: Orchestration layer #422

alexcos20 opened this issue May 13, 2024 · 0 comments · May be fixed by #705
Labels
Milestone

Comments

@alexcos20
Copy link
Member

Former known as "operator-service", this layer handles interactions between ocean-node core layer and different execution environments.

Since we will have two types of operations (docker API & k8 API), which sometimes overlap we will start with the following structure:

  • new classe, derived from C2DEngine, called C2DEngineLocal. From this one, we will create two more:
    • C2DEngineK8API
    • C2DEngineDockerAPI

In a nutshell, here is the implemented functionality of new classes

New job:

  • take a new workflow (created by startJob core handler)
  • insert workflow in database
  • signal engine handler to take over the job execution

Views:

  • exposing list of compute environments for all engines (both Docker & K8 will have compute envs defined through env variables)
  • exposing list of running jobs and limits (max concurrent jobs, etc)
  • read workflow status when c2d getStatus core is called
  • serve job results when c2d getJobResult is called
@alexcos20 alexcos20 added the Epic label May 13, 2024
@mihaisc mihaisc changed the title C2D v2: Orchestration layer C2D.2: Orchestration layer May 14, 2024
@alexcos20 alexcos20 added this to the New C2D milestone Jul 5, 2024
@alexcos20 alexcos20 linked a pull request Oct 25, 2024 that will close this issue
@giancu4 giancu4 closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants