A Fluvio profile contains the a reference to cluster’s connection details.
Profile details are stored in the Fluvio configuration file at ~/.fluvio/config
.
Prints out the name of the active Fluvio profile.
Print the name of the current context Options:
Usage: fluvio profile current -h, --help Print help
Example usage:
$ fluvio profile current
local
Deletes the specified Fluvio cluster connection profile from your Fluvio configuration (~/.fluvio/config
).
This will not delete a cluster. See fluvio cluster delete
for more info.
Delete the named profile
Usage: fluvio profile delete <profile name>
Arguments:
<profile name>
Options:
-h, --help Print help
Deletes only cluster connection information from your profile.
This will not delete a cluster. See fluvio cluster delete
for more info.
Delete the named cluster
Usage: fluvio profile delete-cluster [OPTIONS] <cluster name>
Arguments:
<cluster name> The name of a cluster connection to delete
Options:
-f, --force Deletes a cluster even if its active
-h, --help Print help
Example usage:
$ fluvio profile delete-cluster local
Cluster local deleted
Changes the active CLI profile.
Switch to the named profile
Usage: fluvio profile switch <profile name>
Arguments:
<profile name>
Options:
-h, --help Print help
Prints a table of your profiles, including the address of the associated cluster and which profile is active.
Display the entire Fluvio configuration
Usage: fluvio profile list [OPTIONS]
Options:
-O, --output <type> Output [default: table] [possible values: table, yaml, json]
-h, --help Print help
Example usage:
$ fluvio profile list
PROFILE CLUSTER ADDRESS TLS
* minikube minikube 10.99.16.213:9003 Disabled
local local localhost:9003 Disabled