Configuring access to a Kubernetes cluster
Podman Desktop configures the access to Kubernetes clusters automatically when:
- Creating a Kind-powered local Kubernetes cluster.
- Creating an OpenShift Local cluster.
- Configuring access to a Developer Sandbox.
You can also use the Kubernetes CLI to configure access to your Kubernetes cluster:
Prerequisites
- You have credentials for your Kubernetes cluster.
Procedure
-
(Optionally) Go to Settings > Preferences > Kubernetes to adapt your kubeconfig file location, when different from the default
$HOME/.kube/config. -
Register your Kubernetes cluster:
kubectl config set-cluster <cluster-name> --server=<server-url>