Skip to content

Conversation

sushicw
Copy link
Contributor

@sushicw sushicw commented Oct 21, 2019

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

@sushicw sushicw requested review from davidebbo and geeknoid October 21, 2019 21:53
@sushicw sushicw requested a review from a team as a code owner October 21, 2019 21:53
@sushicw sushicw self-assigned this Oct 21, 2019
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Oct 21, 2019
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 21, 2019

*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`.
Copy link
Contributor

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?

Copy link
Contributor Author

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>
@istio-testing istio-testing merged commit 8a4324d into istio:master Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. kind/docs size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants