Comments (5)
I've added an example of authentication in PR #5 using kubenetes configuration file.
from hera.
Our use case is mainly to be able to create code that runs fine both locally and in the cloud.
At our company we use argo quite extensively, but we've yet to adopt any SDKs as they've either been discontinued or make things more convoluted than just working with yml-files.
We adopted a subset of code from couler
(the one I linked) and just use it to parse yml-files and submit workflows. This is quite handy because the code works both locally and in the cloud (in-cluster config), without any additional configuration.
In essence, this makes it trivial for workflows/services to start new workflows within their own namespace.
from hera.
It might! I might suggest adding a try/except in the example for the in-cluster config as well @rodrigobaron - although I see that the PR has been merged now. 👍
One of my main concerns have been answered, but I sadly do not currently have time to test hera extensively yet. Feel free to close the issue :)
from hera.
In
couler
it's possible to authenticate based on kubernetes or cloud config.Could this be a possible feature for hera as well if we do not supply a token?
Thank you for submitting the issue, @Trollgeir! I'd love to know more about your use case if you can share.
It should be possible to run Hera with the host set to localhost:2746
after running kubectl port-forward service/argo-server 2746:2746
(or deployment) to submit workflows. I see that Couler uses the Workflow CRD to create one directly in a namespace. Hera aims to interact with the Argo server to delegate this type of work, rather than create K8S objects by itself. It is possible to make Hera do this work but for now it's not the aim - the aim is to interact with the Argo server for now. Again, would love to know more about your use case to make sure we're discussing building the right thing!
from hera.
Our use case is mainly to be able to create code that runs fine both locally and in the cloud.
At our company we use argo quite extensively, but we've yet to adopt any SDKs as they've either been discontinued or make things more convoluted than just working with yml-files.
We felt the same way at @dynotx, which is why we released Hera. I'd be excited to know if Hera covers some of the pain points your company noticed with usage of existing SDKs.
We adopted a subset of code from
couler
(the one I linked) and just use it to parse yml-files and submit workflows. This is quite handy because the code works both locally and in the cloud (in-cluster config), without any additional configuration.In essence, this makes it trivial for workflows/services to start new workflows within their own namespace.
Ah, I see! Does @rodrigobaron's PR help with this, perhaps? Wondering if that submission type will help you get going on using Hera vs. waiting until this specific auth method is implemented and released 🙂
from hera.
Related Issues (20)
- Create a hera mypy plugin HOT 1
- Error messages improvement
- Arguments mapping is very verbose depending on use case
- Remove the need to write `.value` on `Parameter`s passed to `arguments` HOT 1
- How to set a workflow parameters default value HOT 1
- VolumeMounts for sidecars disappear
- Robust validation for k8s resource requirements
- Save dummy outputs when runner script raises an exception HOT 1
- RunnerInput: Got 400 from Argo, a value was not supplied in the parameter HOT 2
- RunnerInput/Output feedback/issues HOT 2
- Docs feedback
- Remove Python 3.8 support HOT 1
- Reusable "mock" task/step HOT 2
- Hera runner debug log mode
- Example "user_container.py" doesn't work
- Incorrect linting for DAG/Steps input list
- Pydantic should default to v2, or hera should allow it to be configured HOT 6
- Add a local runner for better testing and local development
- Upgrade Argo >= 3.5 HOT 3
- Workflow parameter interpolation issue in WorkflowTemplates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hera.