-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add documentation for galley.enableAnalysis #5216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
*Note that this feature is experimental.* | ||
|
||
Starting with Istio 1.4, Galley can be set up to perform configuration analysis alongside the configuration distribution that it is primarily responsible for. Validation messages from the analysis are written to the status subresource of the affected Istio resource. This lets you find many configuration errors in your mesh without needing to run a separate command. This analysis uses the same logic and error messages as when using `istioctl analyze`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to emphasize that this is completely different from 'istioctl analyze'. Specifically:
- You can run analyze against much older clusters, while this only helps with absolute newest clusters
- It only lets you get status messages one by one, so it's not at all a replacement for
analyze
, which gives you everything. In this sense, I find the statement This lets you find many configuration errors in your mesh without needing to run a separate command rather confusing.
Is this on by default in 1.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is off by default in 1.4.
Added a section with some caveats / explanations of what's different.
Co-Authored-By: Martin Taillefer <geeknoid@users.noreply.github.com>
Co-Authored-By: Martin Taillefer <geeknoid@users.noreply.github.com>
Add basic documentation for galley.enableAnalysis
Also add a link to validation message reference docs and fix the format of the CLI message.
For now, at least, I'm bundling this with the
istioctl analyze
doc. At some point it will probably need to get its own page.[ ] Configuration Infrastructure
[X] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure