Profile

A Fluvio profile contains the a reference to cluster’s connection details.

Profile details are stored in the Fluvio configuration file at ~/.fluvio/config.

 

fluvio profile current

Prints out the name of the active Fluvio profile.

Print the name of the current context

Usage: fluvio profile current

Options:
  -h, --help  Print help

Example usage:

$ fluvio profile current
local
 

fluvio profile delete

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
 

fluvio profile delete-cluster

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
 

fluvio profile list

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
 

fluvio profile rename

Rename a profile

Usage: fluvio profile rename <FROM> <TO>

Arguments:
  <FROM>  The name of the profile to rename
  <TO>    The new name to give the profile

Options:
  -h, --help  Print help
 

fluvio profile switch

Switch to the named profile

Usage: fluvio profile switch <profile name>

Arguments:
  <profile name>  

Options:
  -h, --help  Print help
 

fluvio profile sync

Sync a profile from a cluster

fluvio profile sync <COMMAND>

Commands:
  k8     Sync a profile from a Kubernetes cluster
  local  Sync a profile from a local cluster

Options:
  -h, --help  Print help
 

fluvio profile export

Export a profile for use in other applications

Usage: fluvio profile export [OPTIONS] [PROFILE_NAME]

Arguments:
  [PROFILE_NAME]  

Options:
  -O, --output <type>  [default: json] [possible values: table, yaml, json]
  -h, --help           Print help
 

fluvio profile add

Manually add a profile (advanced)

Usage: fluvio profile add <PROFILE_NAME> <CLUSTER_ADDRESS> [INSTALLATION_TYPE]

Arguments:
  <PROFILE_NAME>       Name of profile to add
  <CLUSTER_ADDRESS>    address of cluster, e.g. 127.0.0.1:9003
  [INSTALLATION_TYPE]  Installation type of cluster, e.g. local, local-k8, k8

Options:
  -h, --help  Print help