intellij-kubernetes
intellij-kubernetes copied to clipboard
Nothing happens if I try to set a non-responsive cluster as current cluster
related to
- #862
- #869
Steps:
- ASSERT: have a cluster that's shut down (ex. have kind cluster defined in kubeconfig, but it's not running)
- 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:
- ASSERT: have a cluster that's shut down (ex. have kind cluster defined in kubeconfig, but it's not running)
- 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