Page MenuHomePhabricator

[jobs-api,webservice] Run webservices via the jobs framework
Open, HighPublicFeature

Description

The Jobs Framework makes it possible to run generic workloads on the Kubernetes cluster. Let's make webservice managed web services less special and run them using the jobs framework.

A first approach would be to allow specifying something like:

toolforge jobs run --public-url "/" ...

That will tell the jobs-api to:

Add a port to the deployment (http port)
Add a service linked to that deployment
Create an ingress from the path / to the service

We will have to take enough care to create the same labels and annotations that the webservice cli does currently.

As a plus, that path can easily be modifiable :)

We will want to do a refactor of the job-api to better support these (and future) changes.

Related Objects

StatusSubtypeAssignedTask
Opendcaro
Opendcaro
Opendcaro
OpenNone
Opendcaro
Opendcaro
Opendcaro
OpenNone
OpenNone
OpenNone
OpenNone
OpenFeatureRaymond_Ndibe
OpenFeatureNone
In ProgressFeatureRaymond_Ndibe
OpenRaymond_Ndibe
OpenRaymond_Ndibe
OpenNone
Resolveddcaro
Opendcaro
OpenNone
OpenNone
OpenNone
OpenNone
OpenFeatureNone
ResolvedFeatureRaymond_Ndibe

Event Timeline

bd808 changed the subtype of this task from "Task" to "Feature Request".Jan 5 2024, 1:45 AM
bd808 added a project: Epic.
dcaro triaged this task as High priority.Feb 21 2024, 9:23 AM
dcaro moved this task from Backlog to Workspace for triaging whenever needed on the Toolforge board.
dcaro renamed this task from Run webservices via the jobs framework to [jobs-api,webservice] Run webservices via the jobs framework.Mar 11 2024, 11:42 AM