Skip to content

Okteto kubeconfig command

The okteto kubeconfig command is a utility within the Okteto CLI used to manage authentication and connection details for a Kubernetes cluster.^[okteto.md]

Function

The primary function of this command is to download credentials for the Kubernetes cluster currently selected via the okteto context^[okteto.md]. This allows users to configure their local environment to interact directly with the remote cluster managed by Okteto.

Usage

To retrieve the necessary configuration files, the command is executed as follows^[okteto.md]:

okteto kubeconfig

Sources

^[okteto.md]