Closed zw0610 closed 4 years ago
Hi @zw0610, you are right. Fiber CLI cli.py
doesn't support launching things on generic Kubernetes clusters yet. But it's not hard to add that support. For custom k8s cluster, you can probably use DockerImageBuilder
to build locally and push to your own docker registry specified by --docker-registry
argument. Would you be interested to make some changes to cli.py
to add this support? It would be nice if you can make the change and test it on your cluster because I don't have a custom Kubernetes cluster at hand.
Hi @zw0610, you are right. Fiber CLI
cli.py
doesn't support launching things on generic Kubernetes clusters yet. But it's not hard to add that support. For custom k8s cluster, you can probably useDockerImageBuilder
to build locally and push to your own docker registry specified by--docker-registry
argument. Would you be interested to make some changes tocli.py
to add this support? It would be nice if you can make the change and test it on your cluster because I don't have a custom Kubernetes cluster at hand.
Sure. I'll file a pull request later.
Thank you!
Closing this now since the PR has been merged. It will be included in the next release soon.
So far it seems fiber only supports aws and gcp clusters, which might not be available to users for various reasons.
I believe the kubernetes_backend.py is generic enough to launch fiber 'Process' on customized Kubernetes clusters. However, it seems the fiber cli.py does not include options other than aws and gcp. I suggest we can extend fiber cli to generic Kubernetes clusters.