Functionality for installing, managing, and deleting Fluvio clusters.
The primary use of this crate is to install Fluvio clusters on
Kubernetes using a ClusterInstaller
, which provides a fluid
interface for cluster specification.
Example
To install a basic Fluvio cluster, just do the following:
use fluvio_cluster::{ClusterInstaller, ClusterConfig, ClusterError};
# async fn example() -> Result<(), ClusterError> {
let config = ClusterConfig::builder("0.7.0-alpha.1").build()?;
let installer = ClusterInstaller::from_config(config)?;
installer.install_fluvio().await?;
# Ok(())
# }