Skip to content
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

Gather proxy versions to report data plane version #17724

Merged
merged 4 commits into from
Oct 14, 2019

Conversation

esnible
Copy link
Contributor

@esnible esnible commented Oct 9, 2019

Resolves #17172 by gathering the proxy versions so that istioctl version reports either the summary or detail.

Uses the output mechanism and tests of istio/pkg#72

@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 9, 2019
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 9, 2019
Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, tried this out on my cluster and it worked well.

very much a nitpick:
output looks like data plane version: master-20191004-09-15: (1208 proxies), 1.3.2: (1 proxy)
Its a bit weird to have something like something: (something). I would think
data plane version: master-20191004-09-15 (1208 proxies), 1.3.2 (1 proxy)
is a bit cleaner.

@howardjohn
Copy link
Member

howardjohn commented Oct 10, 2019 via email

@howardjohn
Copy link
Member

@istio/wg-user-experience-maintainers please take a look

@esnible
Copy link
Contributor Author

esnible commented Oct 11, 2019

@howardjohn Have you tested this with >1 Pilot? I was thinking I should rewrite this using AllPilotsDiscoveryDo() because not every pilot will have every sidecar.

@esnible esnible added the do-not-merge/hold Block automatic merging of a PR. label Oct 11, 2019
@howardjohn
Copy link
Member

Oh yeah good point, this will need all pilot do I think. I don't think there will be any duplicates that way since each envoy is connected to a single pilot.

Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@esnible this is blocked by your own do-not-merge. I verified this works with multiple Pilots now

@esnible esnible removed the do-not-merge/hold Block automatic merging of a PR. label Oct 14, 2019
@esnible
Copy link
Contributor Author

esnible commented Oct 14, 2019

/test e2e-mixer-no_auth_istio

@istio-testing istio-testing merged commit 2ac9aad into istio:master Oct 14, 2019
@esnible esnible deleted the sidecar-version-v3 branch October 14, 2019 15:03
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. 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.

Istioctl should display data plane version/version skew
5 participants