Description

An exploration of loading and running WASM code in Rancher Dashboard.

The pods workloads page hasn't functioned properly when toggling between the form & YAML views. This makes it a good candidate for exploring WASM usage in Rancher Dashboard for the following reasons:

  1. The scope is limited and the use-case is clear
  2. WASM modules can be sandboxed, providing safer plugin or transformation logic within the dashboard, such as converting between form and YAML representations
  3. If successful, this pattern could allow other complex or high-risk client-side logic to run in a more isolated way

Goals

  • Prototype loading a WASM module to handle form-to-YAML and YAML-to-form transformations for pod workloads
  • Investigate security and sandboxing boundaries to confirm WASM isolates parsing logic more effectively than JS
  • Measure the ease and extensibility of plugging in additional WASM modules for other areas of dashboard

Resources

https://developer.mozilla.org/en-US/docs/WebAssembly https://webassembly.org/docs/use-cases/

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 25

Activity

  • about 5 hours ago: prak originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    This project is one of its kind!