Version: 0.7

kore kubeconfig

kore kubeconfig#

Adds your team provisioned clusters to your kubeconfig

Synopsis#

Dynamically provisions the local kubectl configuration file with the clusters available to the team. The command retrieves all the clusters available and updates the kubeconfig (${HOME}/.kube/config) with new contexts.

The format for the context is <team>.<cluster>.

kore kubeconfig [flags]

Examples#

# Update your kubeconfig with all the clusters available in the team
$ kore kubeconfig
# Update from another team you are a member of
$ kore -t <team> kubeconfig
# Filter to one or more specific clusters
$ kore kubeconfig --cluster|-c <name> --cluster|-c <name>

Options#

-c, --cluster strings used to filter the clusters which are configured
-h, --help help for kubeconfig
--ignore-deleting filter out clusters which are deleting (default true)
-p, --non-interactive indicates if you want to prompt for kube contexts

Options inherited from parent commands#

--debug indicates we should use debug / trace logging (defaults: false)
--force is used to force an operation to happen (defaults: false)
--no-wait indicates if we should wait for resources to provision
-o, --output string the output format of the resource (json,yaml,table,template) (default "table")
--profile string allows you to explicitly set the selected profile
--show-headers indicates we should display headers on table out (default true)
-t, --team string the team you are operating within
--verbose enables verbose logging for debugging purposes (defaults: false)

SEE ALSO#

  • kore - kore provides a cli for the Kore