Reference

kubeone-kubeconfig(1)

Download the kubeconfig file from master

NAME

kubeone-kubeconfig - Download the kubeconfig file from master

SYNOPSIS

kubeone kubeconfig [flags]

DESCRIPTION

Download the kubeconfig file from master.

This command takes KubeOne manifest which contains information about hosts. It's possible to source information about hosts from Terraform output, using the '--tfjson' flag.

OPTIONS

-h, --help[=false]
help for kubeconfig

OPTIONS INHERITED FROM PARENT COMMANDS

-c, --credentials=""
File to source credentials and secrets from

-d, --debug[=false]
debug output with stacktrace

-l, --log-format="text"
format for logging

-m, --manifest="./kubeone.yaml"
Path to the KubeOne config

-t, --tfjson=""
Source for terraform output in JSON - to read from stdin. If path is a file, contents will be used. If path is a dictionary, terraform output -json is executed in this path

-v, --verbose[=false]
verbose output

EXAMPLE

kubeone kubeconfig -m mycluster.yaml -t terraformoutput.json

SEE ALSO

kubeone(1), kubeone-kubeconfig-generate(1)

HISTORY

8-Feb-2026 Auto generated by spf13/cobra