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

provide "describe" like in vscode

Open adietish opened this issue 2 years ago • 6 comments

taken from https://github.com/redhat-developer/intellij-kubernetes/pull/548#issuecomment-1399406965 CC @cloorc

"Describe" is provided in the context menu of resource tree items in vscode. image It prints detailed informations about a k8s resources. image

adietish avatar Jan 23 '23 09:01 adietish

"Find" (Ctrl+F) is already helpful to pinpoint informations that one is looking for. Maybe a tree based display of the sections (Metadata, Containers, Conditions, Volumes, etc.) could help even more. A shortcut could be to print the informations as yaml since the yaml editor provides breadcrumb navigation and folding.

@cloorc: thoughts?

adietish avatar Jan 23 '23 09:01 adietish

And further more, I will try to integrate helm command line tools too. That will enrich features as vscode plugin, which has been added with at least 5 more features from the ms official one.

cloorc avatar Jan 25 '23 10:01 cloorc

And further more, I will try to integrate helm command line ols too. That will enrich features as vscode plugin, which has been added with at least 5 more features from the ms official one.

"Find" (Ctrl+F) is already helpful to pinpoint informations that one is looking for. Maybe a tree based display of the sections (Metadata, Containers, Conditions, Volumes, etc.) could help even more. A shortcut could be to print the informations as yaml since the yaml editor provides breadcrumb navigation and folding.

@cloorc: thoughts?

I'm gonna to try from shortcut to experience this feature thanks.

cloorc avatar Jan 25 '23 10:01 cloorc

@cloorc we added basic HELM support in our intellij-openshift-connector plugin: https://youtu.be/lvILs3fYJ2g

adietish avatar Jan 09 '24 13:01 adietish

Wonderful plugin, thanks for your excellent work. I'm going to try this.

cloorc avatar Jan 13 '24 02:01 cloorc

jetbrains also allows to describe resources via the context menu: image

The output is shown in an editor: image

adietish avatar Feb 21 '24 14:02 adietish

Sorry, I can't even build it from vscode online in codespace. It said > /opt/java/11.0.14/Packages does not exist.

cloorc avatar Aug 10 '24 00:08 cloorc

Sorry, I can't even build it from vscode online in codespace. It said > /opt/java/11.0.14/Packages does not exist.

It seems like Oracle JDK 11.0.23 can make it possible but not OpenJDK 11.0.13.

cloorc avatar Aug 10 '24 02:08 cloorc

@cloorc that's odd, can't explain why this would happen. A question for the folks that develop the java plugin for vscode. On the other hand, this being an intellij-plugin, it's advisable to build and run in intellij even though it should be possible to build & run in vscode I guess (gradle managing all the requirements)

adietish avatar Aug 14 '24 10:08 adietish

describe-pod(6)

adietish avatar Aug 14 '24 14:08 adietish

There are limitations that were not implemented yet (ex. the list of events that kubectl is printing in the end of the output):

  • #778
  • #774
  • #776
  • #777
  • #782

adietish avatar Aug 14 '24 17:08 adietish

@cloorc that's odd, can't explain why this would happen. A question for the folks that develop the java plugin for vscode. On the other hand, this being an intellij-plugin, it's advisable to build and run in intellij even though it should be possible to build & run in vscode I guess (gradle managing all the requirements)

That's make sense.My network is poor and GitHub just provides a codespace that can be used to develop any project online. So I tried it and found this issue. I Guess there's something wrong with Gradle Intellij Plugin working with VSCode. It mostly not a issue related to this project.

cloorc avatar Aug 16 '24 03:08 cloorc