Load different kubectl configs beside default one in IntelliJ IDEA

3/6/2020

Besides my default configuration file in ~/.kube/config, I have additional ones which I use in my Terminal:

> echo $KUBECONFIG
~/.kube/customer.yml:~/.kube/config

This is defined in my ~/.zshrc and of course IntelliJ cannot find that by default. The cluster configured in the default successfully shows up in the Services Tab.

Question: Is there a way to tell IntelliJ the value of my KUBECONFIG environment variable?

-- sja
intellij-idea
kubernetes

0 Answers