istio / istio

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

analysis: Dependency analysis #48468

Open hanxiaop opened 11 months ago

hanxiaop commented 11 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 7 months ago

not stale