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

Update proxy wasm cpp sdk to work with envoy 1.16.x #178

Merged
merged 20 commits into from
Sep 22, 2020

Conversation

Sodman
Copy link
Member

@Sodman Sodman commented Sep 14, 2020

Tested against the latest Gloo 1.5.0-beta (master) updated to use an envoy based on this PR - https://github.com/solo-io/envoy-gloo/pull/83/files and confirmed it's working.

For code reviewing, most of the changes in the diff are from moving the examples folder down a level into the cli package.

Things to look at when reviewing:

  • New proxy-wasm-cpp-sdk added for Gloo 1.5.x (Latest ABI version 0_2_1). This is the latest used by upstream envoy-wasm.
  • Added Istio 1.7 support, uses ABI version 0_2_0 so filters built for Istio 1.6 will not work with 1.7, and vice versa.
  • Wasme will still support creating and deploying filters to both, but the filters themselves are not interchangeable as they were for Istio 1.5<->Istio1.6.

Fixes #177
Fixes #145

# see what's in the cluster if we failed
git diff
kubectl get all -A
kubectl get configmaps -A
Copy link
Member

Choose a reason for hiding this comment

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

nit: we should probably move this into a script for long term maintenance

Copy link
Member

Choose a reason for hiding this comment

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

or a make target

Copy link
Member

Choose a reason for hiding this comment

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

just a thought, i realize we have this elsewhere (and i'm not saying now is the ideal time to refactor)

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree, good call. Also in general I think we can do a bunch of cleanup on this GH Actions file to streamline it a bit. I'm thinking we can use the matrix approach we use elsewhere. I tried a few performance optimizations to get the build time down in this PR (as you might see from the commits) but most of them ended up maxing out the CPU of the kind cluster in the e2e test machines and ultimately being rolled back.

@soloio-bulldozer soloio-bulldozer bot merged commit 7fff932 into master Sep 22, 2020
@soloio-bulldozer soloio-bulldozer bot deleted the update-cpp-sdk branch September 22, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update cpp example with latest proxy wasm cpp sdk Support for Istio 1.7
2 participants