- Some kind of k8s cluster (e.g. kind), kubectl and argo is required.
- Disable authentication and HTTPS for argo (it's not necessary but very helpful for local development):
kubectl patch deployment \ argo-server \ --namespace argo \ --type='json' \ -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": [ "server", "--auth-mode=server", "--secure=false", "--access-control-allow-origin=*", ]}, {"op": "replace", "path": "/spec/template/spec/containers/0/readinessProbe/httpGet/scheme", "value": "HTTP"} ]'
- You can port-forward argo UI:
UI will be available at http://localhost:2746
kubectl -n argo port-forward --address 0.0.0.0 svc/argo-server -n argo 2746:2746
- Create cluster role, service account and cluster role binding for argo:
kubectl apply -f deploy/02-workflow-api-svcaccount.yaml
- Install project dependencies with poetry:
poetry shell poetry install
- Run the FastAPI server:
uvicorn src.main:app --reload
-
Notifications
You must be signed in to change notification settings - Fork 0
SUU-Argo/workflow-api
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
API for running workflows based on Argo Workflows
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published