-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get my clusters to appear #779
Comments
Hm, actually, looking at a fresh log from a recently restarted IDEA, I get a whole bunch of these from the IntelliJ Kubernetes provider:
The IntelliJ Kubernetes integration works just fine, though. I guess this could be related to how my clusters are set up: I have a nearly empty apiVersion: v1
clusters: null
contexts: null
current-context: prod-gcp-star
kind: Config
preferences: {}
users: null and then one separate config file for each cluster, each without the apiVersion: v1
clusters:
- cluster:
name: gke_team-star_europe-west3-a
...
contexts:
- context:
cluster: gke_team-star_europe-west3-a
namespace: kafka
user: gke_team-star_europe-west3-a
name: prod-gcp-star
kind: Config
preferences: {}
users:
- name: gke_star_europe-west3-a
user:
... At the command line, with |
Hi @creckord Thanks for reporting this! This seems particularly valuable given your non-standard setup of kubeconfig. At first glance such setup seems to make perfect sense if one has lots of clusters. |
@creckord I need to replicate it but at first glance I'd guess that our plugin would not detect those cluster files. There's a possibility to set things up via system vars though. I'll look into it and report back. |
for my own documentation purposes: To set the KUBECONFIG env var one has to list all files and the main conf separated by ":" export KUBECONFIG="${HOME}/.kube/config:${HOME}/.kube/minikube.yaml:${HOME}/.kube/sandbox.yaml |
This is related to fabric8io/kubernetes-client#2174 |
@creckord: A fix for fabric8io/kubernetes-client#6240 shouldn't be too complicated, I'm working on it. It could take quite some time for the new client to be released though and our 2 plugins bumped to it (a limitation in the intellij platform requires us to use the same client across all our plugins). Crossing fingers 😄 |
@adietish thanks for looking into this. If you want me to try out a build, let me know. |
@creckord awesomeness, if you can check the fixed build, once we have it, that would be stellar. I'll keep you posted. |
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
@creckord Looks like I have a fix. Will test throughout tomorrow and if things look good I'll have a zip for you that you can download and install if you want :) |
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
@creckord: here's a binary that you can manually install and test if you want. Highly appreciate your feedback, thanks! You can install it from Disk in |
Signed-off-by: Andre Dietisheim <[email protected]>
Signed-off-by: Andre Dietisheim <[email protected]>
Hey @adietish, sorry for going silent. I was on vacation from mid-August on, and lost track of this in the post-vacation hustle. I can confirm that my configuration works now and all clusters show up in the plugin window. Thank you. |
Oh sorry, reopening this, as the fix doesn't seem to be in the release version yet. |
@creckord awesomeness, thanks for testing it 😃 |
* save kube conf files when current ctx or ns changes * watch all config files (redhat-developer#779) Signed-off-by: Andre Dietisheim <[email protected]>
* save kube conf files when current ctx or ns changes * watch all config files (redhat-developer#779) Signed-off-by: Andre Dietisheim <[email protected]>
* save kube conf files when current ctx or ns changes * watch all config files (#779) Signed-off-by: Andre Dietisheim <[email protected]>
…loper#779)" This reverts commit d5972d2. Signed-off-by: Andre Dietisheim <[email protected]>
…eloper#779)" This reverts commit d5972d2. Signed-off-by: Andre Dietisheim <[email protected]>
This reverts commit d5972d2. Signed-off-by: Andre Dietisheim <[email protected]>
I have been using the Jetbrains Kubernetes plugin on and off for a while now, and have several clusters added in IntelliJ.
I wanted to give the Redhat Kubernetes plugin a shot, because really, the Jetbrains one is too clunky as my main k8s console (coming from OpenLens).
Unfortunately, all I got from the Redhat plugin was a long time of cluster resource refreshing, but at the end, the Kubernetes tool window just stayed empty. No errors in the logs either.
IntelliJ IDEA 2024.1.4 (Ultimate Edition) Build #IU-241.18034.62
Redhat Kubernetes Plugin 1.3.0
OpenJDK 64-Bit Server VM by JetBrains s.r.o. Runtime version: 17.0.11+1-b1207.24 amd64
The text was updated successfully, but these errors were encountered: