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

Running Gleam Tasks external to a gleam cluster #209

Open
dominicfollett opened this issue Apr 27, 2024 · 2 comments
Open

Running Gleam Tasks external to a gleam cluster #209

dominicfollett opened this issue Apr 27, 2024 · 2 comments

Comments

@dominicfollett
Copy link
Contributor

dominicfollett commented Apr 27, 2024

Hi there, thank you for an awesome project.

I am facing a challenge in running Gleam tasks locally on my MacBook, which has a different architecture compared to the Alpine-based Kubernetes pods running the Gleam master and agent containers.

Also, running the Gleam tasks on my MacBook requires that I do port forwarding for the master and agents pods. I assume that this issue #118 might be related to that?

Currently the only way I can run a task with a K8s deployment is if I run it from a K8s alpine-based pod.

I imagine we'd want to support use cases where a gleam task is run in a serveless context (like AWS Lambda) and accesses a kubernetes cluster to perform the computation. These two issues seem to make that difficult.

However I'd really love to help out. Do you have any suggestions/insights I could explore to help solve these two issues?

@chrislusf
Copy link
Owner

Current binary sends itself to the remote gleam agent. To fix this, it needs to send a binary compiled for the target OS.

@dominicfollett
Copy link
Contributor Author

Thanks chrislusf I'll work on preparing a PR for this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants