Coder Social home page Coder Social logo

nov1n / kubernetes-workflow Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 70.78 MB

Workflow functionality for Kubernetes.

Home Page: https://repository.tudelft.nl/islandora/object/uuid%3Afd1a2aea-84d0-42cc-8043-23a182748f8c

Go 94.31% Shell 1.44% JavaScript 2.87% HTML 0.55% CSS 0.12% Makefile 0.71%

kubernetes-workflow's People

Contributors

borismattijssen avatar nov1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kubernetes-workflow's Issues

Could not reach endpoint

When the thirdparty endpoint does not exist we get the error below, when however we create it we keep getting the error even though the endpoint is reachable now

E0527 10:11:57.013233 7389 reflector.go:216] github.com/nov1n/kubernetes-workflow/pkg/workflow/manager.go:172: Failed to lis│
t *api.Workflow: could not reach http:/127.0.0.1:8080/apis/nerdalize.com/v1alpha1/workflows: Get http:///127.0.0.1:8080/apis/ne│
rdalize.com/v1alpha1/workflows: http: no Host in request URL

Refactor

  • Rename WorkflowManager to Manager
  • Rename wc to m in NewWorkflowManager
  • Rename w varaible to m in WorkflowManager methods
  • Create a workflow_utils and move function IsWorkflowFinished to there as with job_utils

Make enqueueAfter non-blocking

EnqueueAfter is blocking atm to make sure no parallel tracks occur.
We should make it non-blocking, but for that a custom workqueue is needed.

Still active?

This looks like a compelling concept, but hasn't been changed in a while.

Is there any ongoing development / running workloads on this?

syncWorkflow return value

syncWorkflow retruns nil in almost every case.
We should check what to do:

  • return error?
  • return list of errors?
  • don't return and log all errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.