microsoft / farmvibes-ai

FarmVibes.AI: Multi-Modal GeoSpatial ML Models for Agriculture and Sustainability

Home Page:https://microsoft.github.io/farmvibes-ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to deploy Farm vibes on Existing on-premises OpenShift or Kubernetes cluster

click2cloud-kaliram opened this issue · comments

Topic

No response

Ask away!

"When executing the Farmvibes local setup command, it automatically generates its own k3d cluster. Is it possible to manually deploy Farmvibes on an existing Kubernetes or OpenShift cluster , could you provide guidance along with the deployment YAML file?"

Hello @click2cloud-kaliram, unfortunately, this is not supported by our current code, and I'm afraid we don't have the bandwidth to implement such a feature (I would be willing to review a PR that added support for that, though).

The main reason we don't support this is because we can't know how kubernetes node pools and persistent volumes would work in arbitrary clusters.

Although unsupported by the scripts, if you look at the setup function, you will see that we use Terraform to ensure a local cluster is setup. (We have similar code for the AKS clusters, but that code is a bit more complex.)

If you are proficient with TerraForm, you can try applying the scripts to your existing cluster to deploy FarmVibes.AI to it.

You will probably have to edit the terraform files to suit your cluster, but again, we can't provide support with that.

You would have better luck setting up an AKS cluster specifically for FarmVibes.AI.