intellij-kubernetes icon indicating copy to clipboard operation
intellij-kubernetes copied to clipboard

Nothing happens if I try to set a non-responsive cluster as current cluster

Open adietish opened this issue 6 months ago • 1 comments

related to

  • #862
  • #869

Steps:

  1. ASSERT: have a cluster that's shut down (ex. have kind cluster defined in kubeconfig, but it's not running)
  2. EXEC: in resource tree: right click on the entry for the non-responsive cluster and pick "Set as current cluster"

Result: Nothing happens. In the status bar you see a running operation "Setting kind as current cluster". This operation can easily be running for several minutes. Even worse is that the IDE cannot be closed gracefully when this operation is running. You have to forcefully kill it.


Steps 2:

  1. ASSERT: have a cluster that's shut down (ex. have kind cluster defined in kubeconfig, but it's not running)
  2. EXEC: start up the IDE, open the Kubernetes tool window. Wait for the contexts to be listed.

Result: It takes several seconds (~20s in my case) until the contexts are listed


I suspect this to have been introduced with the switch to the new kubernetes-client 7.0.0

adietish avatar Apr 16 '25 12:04 adietish