terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

Modify k8s-env script to launch teraslice into any kubernetes cluster #3586

Closed busma13 closed 3 months ago

busma13 commented 3 months ago

Currently the k8s-env script starts a kind cluster and then launches teraslice into it. It would be nice to be able to pass a flag called --cluster or --context that would let us launch teraslice into an already running k8s cluster.

godber commented 3 months ago

Let's use --kube-context like helm does.

busma13 commented 3 months ago

Thoughts on passing in a file (yaml or json) that would include all the relevant info we need?

godber commented 3 months ago

Yeah this issue is a little to wishy washy, let's punt on implementing this now.

The fundamental problem is that once you stop assuming kind then the question of how to get images into Kubernetes becomes a problem. Then you have to ask questions about what use case are we really serving? If its the dev use case, we are using cached or just built images that need pushing into the environment. Its easier in a non-dev use case, where the user will use an existing image that can be pulled from the internet. We don't really want to rebuild the non-dev use case since there are other tools for that and anything we do choose to do related to that should be driven around the helm chart.

So, it's too messy and doesn't have immediate benefit.