Migrate from minikube to k3d as backend implementation #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main change proposed in this PR is migrating our kubernetes cluster implementation from minikube to k3d. After running large workflows for a while now, we noticed that minikube with the Docker driver was too unstable, causing cascading crashes of both kubernetes services and our services.
We've been experimenting with k3d internally for more than a month now and it seems to be much more stable as a docker-based kubernetes platform, and we believe FarmVibes.AI users will benefit from that change.
When running the
farmvibes-ai.sh
script, it will automatically backup workflow state and suggest migrating a cluster from minikube to k3d.Apart from that, we've made the following changes, listed below:
Client
Notebooks
Workflows
Backend
~/.cache/farmvibes-ai/logs
failed
andcancelled
states to all ops that did not run when we cancel/fail a workflowCo-authored-by: Bruno Silva brunosilva@microsoft.com
Co-authored-by: Eduardo Rodrigues edrodrigues@microsoft.com
Co-authored-by: Naga Bilwanth Gangarapu Naga@zensa.co
Co-authored-by: Rafael Padilha rpadilha@microsoft.com
Co-authored-by: Renato Luiz de Freitas Cunha renato.cunha@microsoft.com
Co-authored-by: Roberto de Moura Estev茫o Filho robertode@microsoft.com
Co-authored-by: Sara Malvar saramalvar@microsoft.com