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

[1.7] Trim agent binary by 14mb by conditionally compiled XDS filters (#28670) #28717

Merged
merged 1 commit into from Nov 9, 2020

Conversation

howardjohn
Copy link
Member

@howardjohn howardjohn commented Nov 9, 2020

  • Trim agent binary by 11mb by conditionally compiled XDS filters

Part of #26232

75mb -> 64mb

We could have also done massive refactoring to avoid using build tags,
but I think in the near future we will need build tags for dropping k8s
import, so it seems useful to implement this at least for the short
term.

  • Trim another 4mb

(cherry picked from commit 19c8ea4)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Pull Request Attributes

Please check any characteristics that apply to this pull request.

[ ] Does not have any changes that may affect Istio users.

…o#28670)

* Trim agent binary by 11mb by conditionally compiled XDS filters

Part of istio#26232

75mb -> 64mb

We could have also done massive refactoring to avoid using build tags,
but I think in the near future we will need build tags for dropping k8s
import, so it seems useful to implement this at least for the short
term.

* Trim another 4mb

(cherry picked from commit 19c8ea4)
@howardjohn howardjohn requested a review from a team November 9, 2020 19:37
@google-cla google-cla bot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Nov 9, 2020
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 9, 2020
@howardjohn howardjohn changed the title Trim agent binary by 14mb by conditionally compiled XDS filters (#28670) [1.7] Trim agent binary by 14mb by conditionally compiled XDS filters (#28670) Nov 9, 2020
@howardjohn howardjohn added the release-notes-none Indicates a PR that does not require release notes. label Nov 9, 2020
@howardjohn
Copy link
Member Author

/retest

@istio-testing istio-testing merged commit b3fca00 into istio:release-1.7 Nov 9, 2020
incfly pushed a commit to incfly/istio that referenced this pull request Apr 13, 2022
…o#28670) (istio#28717)

* Trim agent binary by 11mb by conditionally compiled XDS filters

Part of istio#26232

75mb -> 64mb

We could have also done massive refactoring to avoid using build tags,
but I think in the near future we will need build tags for dropping k8s
import, so it seems useful to implement this at least for the short
term.

* Trim another 4mb

(cherry picked from commit 19c8ea4)
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. release-notes-none Indicates a PR that does not require release notes. 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.

None yet

3 participants