-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
[Multicluster]the istioctl debug tool in Primary-Remote model behavior improperly #29900
Comments
I tried it today and I can see that it only shows pod from primary cluster.
Also it's able to read proxy config from sleep pod.
But as you mentioned it's not able to read
|
I have been working on a POC based on the "Primary-Remote on the same network" example using istio 1.9.0 on two GKE clusters. I noticed the same awkward behavior described in this issue. I also found that trying to diff the config of an envoy proxy in the remote cluster against the istiod config doesn't work. As described above calling
the first two pods, api-worker-....tenant-a and api-worker-....tenant-b, are in the remote cluster. If I try to diff the remote pod's config with istiod it fails with different errors depending on which cluster context I use. Primary cluster ctx:$ istioctl proxy-status api-worker-5b5d9f6d4f-crvzv.tenant-a --context ${PRIMARY_CLUSTER_CTX}
Error: failed retrieving pod: pods "api-worker-5b5d9f6d4f-crvzv" not found Remote cluster ctx:$ istioctl proxy-status api-worker-5b5d9f6d4f-crvzv.tenant-a --context ${REMOTE_CLUSTER_CTX}
Error: unable to find config dump in Istiod responses It makes sense that this would be an issue since the remote pod and istiod are in different clusters. I just wanted to point out this additional issue, since it makes the diffing tool unusable in a situation where the potential for syncing issues is pretty high. Let me know if this would be better entered as a separate issue. |
not stale |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2021-06-28. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
not stale |
Bug description
Install istio in Primary-Remote mode, and follow the verify steps to deploy helloworld and sleep applications, then I try to use the istioctl
proxy-status
andproxy-config
commands to debug the Envoy and Istiod configurations, I found that:proxy-status
also shows sidecars from remote cluster:proxy-config
to check the XDS configuration on primary cluster from the sidecar in the remote cluster, I getpod not found
error.proxy-status
to check all the sidecars on the remote cluster, there will no items:This is not really a bug, but an UX issue, the istioctl current can only retrieve information for sidecars from current cluster(primary cluster), we may need some get sidecars from remote cluster through apiserver, because the apiserver is available from primary cluster.
[ X ] User Experience
[ X ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
The text was updated successfully, but these errors were encountered: