nevalla / lens-resource-map-extension Goto Github PK
View Code? Open in Web Editor NEWLens - The Kubernetes IDE extension that displays Kubernetes resources and their relations as a force graph.
License: MIT License
Lens - The Kubernetes IDE extension that displays Kubernetes resources and their relations as a force graph.
License: MIT License
Resource icons lost behind proxy, please provide them locally.
This extension is very useful and I think it would be great if there was an option for recentering the camera or resetting the view in the middle of a resource map. It is very easy to get lost, especially when zooming and I think such an option would improve the usability of the extension.
Hi,
This is a very nice Lens plugin. It would benefit greatly if there was a way to navigate from the graph nodes to the various detail panels for the k8s resources that graph nodes represent (i.e. the same detail panels that slide from right when you select a particular resource in the Lens browser). I don't know if Lens plugin API allows to do that easily though. But if it doesn't maybe it could get extended?
It would be awesome if could be possible to export the diagram to a PNG or JPEG, because Screenshots doesn't have the same quality than a autogenerated image.
Hi @nevalla,
It would be good to add some kind of search by keyword of additional filter except namespace.
With a big amount of resources in namespace hard to navigate and move map objects,
with filtering it will show only dependent objects and relations.
What do you think?
Installed the extension using Lens 2024.1.170738-latest on a Macbook pro M2 but it does not show up in the extensions menu? LENs support was not able to help.
Hello,
I installed the resource map on Lens 5.2.2 running as an AppImage from Linux (Lens-5.2.2-latest.20210917.1.x86_64.AppImage) and I'm getting this crash report:
This messes up the whole lens gui and the only way to get it back to normal is by removing the resource map. Any idea on why this is happening?
Thanks
Hey, i like your extension but :
if you can decrease the force graph interactivity between, when i drag one group all move everywhere. (tips : create a right click on space for menu contextual and add possibility to change the coeficient force graph moving , a slide bar with value 1 to 100) ?
into the menu contextual, add possibility recenter all elements.
into the menu contextual, add filter type object see view, and reset this filter.
into the menu contextual, add possibility reorder by label-name (top A --> bottom Z) of one type object kube (example : select Deployement, or select Pod, or ConfigMap ,etc..)
thanks
I have OpenLens 5.5.4-latest.1655706636466 installed on Windows and Resource Map extension 1.1.0 is incompatible.
Do I need to upgrade to OpenLens 6.x and install Resource Map extension?
Thanks
This really helpful extension and If it allows to excludes some not important (like SSL certificates, configMap or. Secrets) resources then supper amazing.
There is a small bug in the map of a huge cluster that keeps re-generating again and again. I think the map should not be re-generation automatically instead allows manual re-arrange the map.
Hi,
I'm using the newest Lens and installed the extension, but am not seeing it. I saw this issue and followed suggestions like installing as the admin etc, but nothing seems to be working.
Win 11 Pro
Lens 5.3.3
Resource Map Extension 1.0.1
Scott
we did added a resource in our managed code of repo post this im getting
The config profile (qc) could not be found
E0222 17:50:33.006282 9872 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable aws failed with exit code 255
getting credentials: exec: executable aws failed with exit code 255
When moving the mouse over a resource map in Lens, I can see the details of each resource in a tooltip-type display. However, when it passes over an Ingress resource, there is no tooltip, and after that there is no tooltip over any other resource either, until I close the current view in Lens and then reopen it.
Here is the stack trace:
/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213 TypeError: Cannot destructure property 'di' of 'undefined' as it is undefined. at index.js:1 at Us (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at _l (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at wl (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at xl (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at dl (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at /Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213 at t.unstable_runWithPriority (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:226) at Ui (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213) at Vi (/Users/default/.k8slens/extensions/nevalla--kube-resource-map/dist/renderer.js:213)
lens-resource-map-extension 1.1.0
Lens: 6.0.2-latest.20220908.1
Electron: 15.5.7
Chrome: 94.0.4606.81
Node: 16.5.0
I think that an option to toggle off or lower the intensity of the wiggling would be a great addition to the tool. When dealing with bigger resource groups it becomes quite difficult to manage the items because when you try to drag one somewhere, all of the others move with it. If we could disable this behaviour and lower the intensity of the swirling and the other effects, I think this tool will become an essential part of Lens, since it is such a good addition to the toolkit. Having the option to view all of your resources and their relations is irreplaceable.
Was going through the YouTube Complete Lens Course | The Best Kubernetes IDE for DevOps and tried to install this extension as outlined ~18m in. But once installed, it indicates that is Incompatible
with the version of Lens I have, where the about page shows this:
Lens: 2022.10.181357-latest
Extension API: 6.1.12
Electron: 19.0.17
Chrome: 102.0.5005.167
Node: 16.14.2
© 2022 Mirantis, Inc.
I am guessing this is a case of simply catching up, as Lens v6 seems pretty recent. But figured I'd mention this as it would be nice to have this functionality.
Is possible to display Traefik CRD (like Ingress) in the Map?
https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/
I'm using Traefik 2 as Ingress to my cluster, it would be really cool to be able to see it on the map too.
Hi,
Lens 5 just got released and it would be quite awesome, if this plugin would be compatible with it. :)
Hi,
Thanks for working on this extension, there's great potential here!
I was curious, wanted to check it out, and installed it in Lens. But I can't find the resource map anywhere in the interface.
Where can I find it?
Lens Version:
Lens: 4.1.4
Electron: 9.4.0
Chrome: 83.0.4103.122
Node: 12.14.1
Copyright 2020 Mirantis, Inc.
I've restarted Lens several times to make sure there was no hidden state.
Hello everyone,
I have followed the steps of installation to Lens 4, but now found the extension working intro de IDE (maybe I'm does some miss configuration). My Lens at in the version 4.2.5
.
I'd tried reload, close and the Lens, but still missing, tried the latest
version and 0.2.0
like the tutorial explains. More someone with this trouble?
The extension loads and displays only a single resource map related to the last selected namespace. If you want to see resource maps from other namespaces, you have to disconnect from the cluster, reconnect and select a different namespace before opening the Resource Map tab from the menu. Otherwise you will be unable to see other resource maps.
Would be nice to have the cronjob and the pods generated linked together. Right now the different pod instances generated from the same job or cronjob are floating unrelated. Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.