fluvio-cloud plugin is distributed by default when Fluvio is installed
using the one-liner installation script:
$ curl -fsS https://packages.fluvio.io/v1/install.sh | bash
It is used to log into a Fluvio Cloud account and download a profile that allows you to connect to your account’s hosted cluster. After downloading this profile, you may use the rest of the Fluvio commands like normal and they will interact with your Fluvio Cloud cluster.
After creating a Fluvio Cloud account, run this command to log in with your
username and password and download your Fluvio Cloud profile. This will
automatically create a profile called
cloud in your Fluvio config file
~/.fluvio/config) and set it as the active profile.
fluvio-cloud-login Log into Fluvio Cloud with a username and password USAGE: fluvio-cloud login [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: --email <email> Fluvio Cloud email to use for logging in --password <password> Password to use when logging in (not recommended) --profile <profile> The name of the Profile to save
$ fluvio cloud login Fluvio Cloud email: firstname.lastname@example.org Password: <hidden>
After this has completed successfully, you should be able to see your new cloud
fluvio profile list:
$ fluvio profile list PROFILE CLUSTER ADDRESS TLS * cloud cloud router.cloud.fluvio.io:9003 Verified
At this point, any other
fluvio commands (such as produce, consume, etc.) will
interact with your
cloud cluster. To switch back to a different cluster, use
fluvio profile switch.
After logging in you are able to query the CPU and memory usage of your SPUs with this command.
$ fluvio cloud usage SPU CPU Memory main-0 1066037n 3168Ki Note: CPU usage is expressed in nanocores. 1 nanocore is equal to 1 billionth of 1 core.