istio / istio

Connect, secure, control, and observe services.
https://istio.io
Apache License 2.0
35.82k stars 7.73k forks source link

analysis: Dependency analysis #48468

Open hanxiaop opened 9 months ago

hanxiaop commented 9 months ago

Currently, we have the analyze feature in both istioctl and in-cluster analysis. However, resource consumption is not ideal. The same resources are repeatedly listed and re-evaluated across different analyzers, leading to scalability issues. This inscalable behavior will continue to increase resource demands. In in-cluster analysis, when a configuration changes, all related kinds of resources are analyzed, requiring substantial resources.

To make the analysis more useful, implementing dependency analysis would be ideal. This will need modifications to the analysis architecture, but the approach would follow the concept described in https://github.com/istio/istio/pull/46647#discussion_r1304545856 and https://github.com/istio/istio/pull/47891.

This issue will be used to track the future works in the long term.

hanxiaop commented 5 months ago

not stale