Global Configuration

Save time by making some configurations global.

Like many tools, Kerbi creates a small config file in your home directory where it can read/write configurations you want applied for every command.

The Config File

The config file itself is located at $HOME/.kerbi/config.json. If it does not exist, Kerbi will create it when it needs it. You can delete it without crashing Kerbi. To output its exact location, run:

$ kerbi config location
/home/batman/.kerbi/config.json

Using the CLI

The two main things you will want to do are set configurations and view the compiled configuration. To do these, read up on the Config Command Group. In summary:

Viewing compiled configuration:

$ kerbi config show
load-defaults: true
output-format: yaml
state-backend: configmap
k8s-auth-type: kube-config
kube-config-path: null
kube-config-path: null

Updating attributes:

$ kerbi config set output-format json

The attributes you can configure globally are a subset of the flag-style options available to commands:

Last updated