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

istiod: fully drop xds v2 #44679

Merged
merged 1 commit into from May 2, 2023
Merged

Conversation

howardjohn
Copy link
Member

This removes support for using v2 in Envoyfilters. Users previously got a warning. They will now get an error, which helpfully points them to using v3.

This has been warning for well over 2 years at this point, so I think its time. This reduces the binary size of Pilot by 8mb which is a nice benefit as well.

Note: the current support for v2 is mostly only for top level fields. This works because we marshal to Struct then back into the v3 types. For things like ADD, we don't do this and send as-is (v2), but Envoy itself only partially supports v2. For example, config_dump will break. So its unlikely there is usage.

This removes support for using v2 in Envoyfilters. Users previously got
a warning. They will now get an error, which helpfully points them to
using v3.

This has been warning for well over 2 years at this point, so I think
its time. This reduces the binary size of Pilot by 8mb which is a nice
benefit as well.

Note: the current support for v2 is mostly only for top level fields.
This works because we marshal to Struct then back into the v3 types. For
things like ADD, we don't do this and send as-is (v2), but Envoy itself only
partially supports v2. For example, config_dump will break. So its
unlikely there is usage.
@howardjohn howardjohn requested review from a team as code owners May 1, 2023 21:02
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 1, 2023
@ericvn
Copy link
Contributor

ericvn commented May 2, 2023

/test integ-ipv6

@howardjohn
Copy link
Member Author

howardjohn commented May 2, 2023 via email

@istio-testing istio-testing merged commit 4fa46fc into istio:master May 2, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants