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

Explore wasm based conventions #57

Open
scothis opened this issue Mar 24, 2022 · 0 comments
Open

Explore wasm based conventions #57

scothis opened this issue Mar 24, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@scothis
Copy link
Contributor

scothis commented Mar 24, 2022

The current approach to defining a convention is via a webhook to a remote process. While flexible, this approach introduces networks and misconfigurations that can affect system stability. We should also explore Wasm as a mechanism to run arbitrary code safely within the controller process. Conventions should be pure functions that don't need access to disk, network, or the system.

Open questions:

  • how hard is it to run wasm code safely within a go process? Should we run in a non-go binary, like rust?
  • can a poorly implemented convention cause a denial of service by crashing the controller?
  • how do we get wasm executables to the controller? (inlined into the ClusterPodConvention resource?)
  • what does it look like for a convention author to compile to wasm, what languages should we offer bindings for?
@scothis scothis added the enhancement New feature or request label Mar 24, 2022
@seagomezar seagomezar added the question Further information is requested label Apr 3, 2023
@seagomezar seagomezar added this to the 0.5.0 milestone Apr 3, 2023
@rashedkvm rashedkvm removed this from the 0.5.0 milestone Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants