Open danielecazzari opened 1 year ago
+1, also experiencing this issue and exact stack trace on the /pods & /deployments endpoints on AKS 1.25.6.
Seems to only happen on my 1.25 cluster. My old 1.21 and 1.24 clusters both allow me to grab info without error.
+1, also experiencing this on GKE 1.26.2
What helped me was to temporary disable kubescape extensions as this seems to be root cause of the problem.
@fpetr Great catch mate! This solved the issue for me
@fpetr Thanks, this solved my issue too when i selected a pod then it crashed trying to render the GUI. The culprit was Kubecscape extension. 🏆
Describe the bug I'm trying to enter deployment details of one of my cluster, this always result in a crash. No changes if I restart the app or force refresh. This is a AKS cluster v1.26.3.
This is the component stack: Component stack:
This is the Error Stack Error stack:
TypeError: Cannot read properties of undefined (reading 'controls') at d.render (C:\Users\dazari.k8slens\extensions\kubescape--lens-extension\dist\renderer.js:1:33585) at qi (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:603970:188) at pi (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:603969:173) at ck (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:604052:427) at bk (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:604033:347) at ak (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:604033:278) at Tj (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:604033:138) at Lj (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:604026:163) at https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:603906:115 at exports.unstable_runWithPriority (https://68a6e585acb0b82d10bfcd1a2dce6784.lens.app:55120/build/lens.js?3009659a76e484a218f8:624924:343)