Upgrading Fluvio

In this guide, we’re going to talk about how to upgrade your Fluvio installation so that you can be working with the latest version of Fluvio.

There are two major components that will occasionally need upgrading. The Fluvio CLI and the Fluvio cluster you’re working with. Upgrading the Fluvio CLI is easy, it can do it for you!

$ fluvio update
🎣 Fetching latest version for fluvio/fluvio...
⏳ Downloading Fluvio CLI with latest version: fluvio/fluvio:0.6.0-rc.5...
🔑 Downloaded and verified package file
✅ Successfully updated /Users/you/.fluvio/bin/fluvio$ fluvio update

Run the version command to check the if fluvio CLI and the platform (cluster) are in sync:

$ fluvio version
Fluvio CLI      : 0.6.0-rc.5
Fluvio Platform : 0.6.0-rc.3
Git Commit      : 93193ab9754fb0019984c704640087ed7ba1420b
OS Details      : Darwin 19.6.0 x86_64
Rustc Version   : 1.48.0 (7eac88a 2020-11-16)

Upgrading the Fluvio cluster is slightly more involved and less polished. As of this writing, the only way to update your cluster is to delete it and re-start it.

If you are using Fluvio on Minikube, you can upgrade your cluster with these commands:

$ fluvio cluster delete
$ fluvio cluster start

If you are using Fluvio locally, the upgrading process is only slightly different:

$ fluvio cluster delete --local
$ fluvio cluster start --local