KubeConfig Download Fails With a Timeout Error

Problem

A timeout error is observed when kubeconfig download is requested from the UI.

mceclip0.png
mceclip0.png

The following error is observed in the /var/log/pf9/sidekick.log on the active master node.

Environment

  • Platform9 Managed Kubernetes - All versions

Cause

When a kubeconfig for a cluster is requested from the UI. kubeconfig generation fails due to a file lock from a previously failed config generation.

Resolution

  1. SSH to the active master node where you see the above error in the sidekick log.

  2. Check for a stale config.lock file under /opt/pf9/home/.kube directory.

  1. Deleted the config.lock file and request a new kubeconfig file.

Last updated