-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
add a remote cluster check step to "verify the installation" multicluster setup docs #15923
Conversation
😊 Welcome! This is either your first contribution to the Istio documentation repo, or
Thanks for contributing! Courtesy of your friendly welcome wagon. |
cluster1 synced istiod-a5jg5df5bd-2dfa9 | ||
cluster2 istio-system/istio-remote-secret synced istiod-a5jg5df5bd-2dfa9 | ||
ENDSNIP | ||
|
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.
This is a generated file as per the comments on previous lines. You can skip these changes.
####################################################################################################
# WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL MARKDOWN FILE:
# docs/setup/install/multicluster/verify/index.md
####################################################################################################
@@ -20,6 +20,16 @@ | |||
# docs/setup/install/multicluster/verify/index.md | |||
#################################################################################################### | |||
|
|||
snip_verify_multicluster_1() { |
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.
Could you please add these verification steps to the test ?
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.
I definitely underestimated how complex the docs tests are. I think I added it to the right place, but I don't see anything obvious in the multicluster test output that suggests this test was executed.
/ok-to-test |
Changes are fine. I understand it is auto generated. Those snips we should be using in the test.sh if it makes sense. |
Apologies I mistook them to be edited and not auto-generated. Please ignore my previous comment. |
@@ -101,6 +101,9 @@ function cleanup_cluster2 | |||
# between CLUSTER1 and CLUSTER2. | |||
function verify_load_balancing | |||
{ | |||
# Verify istiod is synced | |||
snip_verify_multicluster_1 |
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.
simply calling verify_multicluster wont be enough.. you will have to compare the output of the command to the expected output which is there in snip_verify_multicluster_1_out . Take a look at the usages of _verify_like() in other similar tests
…llation" multicluster setup docs into Chinese
Description
Add a step to the verify the installation multicluster setup docs for executing
istioctl remote clusters
, and some notes about interpreting the results.Fixes #15911
Reviewers