cldkctl config
The config command retrieves the Kubernetes configuration file (kubeconfig) used for authentication and cluster access within your Cloudeka project. By default, the configuration file is printed directly to the console, allowing you to view or copy it manually.
Usage
cldkctl config [flags]Steps
Follow the steps below to run and view the result of this command:
Identify your Project ID from the project list (if required for your environment).
Run the config command to retrieve the Kubernetes configuration file:
./cldkctl configUse the --project flag to specify a project ID:
./cldkctl config --projectTo save the kubeconfig file to a specific path, use the --output flag:
./cldkctl config --output ~/Downloads/kubeconfig.yamlThe command will either print the kubeconfig content in your terminal or save it to the provided file path.
Flags
-h, --help
Help for the config command.
-o, --output string
Specify a file path to save the kubeconfig file instead of printing it to the console.
-p, --project string
Specify the project ID to retrieve the kubeconfig file for.
Last updated
