-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
support oci_uri as a remote data source for wasm #33212
Comments
|
@kyessenov @yanavlasov can try and find a contributor from the community to help with this feature, once its been accepted |
@zhaohuabing did you already start or are you going to start working on this issue soon? If not, I could take care of it. |
@jewertow I haven't started on this. Please feel free to move on if you have time. |
If you're going to implement it, let's settle on the two design issues:
|
@kyessenov are your suggestions relevant for HTTPS URI or for OCI? I was going to start with HTTPS URI and I didn't investigate the scope of OCI yet. |
Yes, they are. OCI is not that different from a regular HTTPS. It's just a tar with structured content and some authentication schemes. |
Should HTTPS be similar to the current HTTP fetching and caching mechanism? |
@zhaohuabing The current HTTP fetching in Wasm is somewhat broken, we warn people not to use it. If you use a cluster specifier, then HTTPS vs HTTP becomes a configuration in the upstream cluster, so yes, it should be similar. |
@kyessenov Could you elaborate on what's broken in HTTP fetching? We plan to use HTTP Wasm code source in EG and want to avoid any known issues. Thanks! |
It crashes :) I don't have enough time to troubleshoot and fix it, but it needs to be fixed before using it in production. |
After testing, I confirmed that HTTPS schema works for the Wasm HTTP code source. It seems that TLS is solely associated with the Cluster configuration and does not require handling within the Wasm filter. |
@kyessenov I wanted to start working on support for OCI scheme, and since this requires to send a few consecutive requests (GET manifests -> GET blobs -> GET layers), I wonder if I should follow asynchronous pattern used in |
Title: One line description
Description:
Envoy only supports fetching a WASM module remotely via http
Majority of the WASM Modules now live in OCI Registries, so would be great if an
oci
field was supported to allow users to fetch WASM modules directly instead of using a shim (an auxiliary control plane creating a temporary file server or a sidecar agent that prefetches from an OCI registry and persists it into the common filesystem) that deals with the CRUD state machine[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: