Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenShift Commons Gathering Chicago 2023 - Running Spin Wasm Apps on OpenShift

OpenShift Commons Gathering Chicago 2023 - Running Spin Wasm Apps on OpenShift

Matt Butcher (Fermyon) and Chris Matteson (Fermyon) present at the OpenShift Commons Gathering Co-Located with KubeCon + CloudNativeCon North America 2023.

OpenShift Commons

November 17, 2023
Tweet

More Decks by OpenShift Commons

Other Decks in Technology

Transcript

  1. OpenShift, Wasm,
    & Spin
    Nov 6, 2023

    View full-size slide

  2. About Us
    Chris Matteson
    Matt Butcher
    Creator of Helm and other
    k8s stuff. CEO of Fermyon.
    Head of Solutions Sales

    View full-size slide

  3. What Is Wasm?
    The boring answer: It’s just another bytecode format

    View full-size slide

  4. WebAssembly’s Strengths
    • Security sandbox
    • Cross-platform, cross architecture
    • Fast startup and execution
    • Ideally, can support any language
    Good for the browser, great for the server

    View full-size slide

  5. Orchestrating
    Wasm
    Nomad, Kubernetes, etc.

    View full-size slide

  6. Fermyon Cloud and Nomad
    •Easier to write a driver
    •More efficient for scheduling non-containers
    •We built a custom massively scaling runtime
    •But... Kubernetes is everywhere

    View full-size slide

  7. Kubernetes and Spin
    • Step 1: Virtual Kubelet
    • This was Krustlet
    • We view it as an objective failure
    • Step 2: Containerd
    • Microsoft wrote it for AKS
    • It was committed to containerd as a shim
    • Extended to run in any Kubernetes cluster
    • Coming to EKS as official add-on soon
    • Step 3: Spin Kuberntes Plugin
    • Make it easier to package spin apps as containers
    • Requires a "wrapping container"
    • Step 4: Native Support for OCI Artifacts
    • Liquid Reply working with Fermyon on support
    • Greatly simplify user experience

    View full-size slide

  8. More Kubernetes Stuff
    •Support additional triggers in Kubernetes
    • Redis
    • SQS
    •More Examples in Spin Up Hub and improved
    Documentation
    •And finally....

    View full-size slide

  9. Spin on Openshift!
    •Working in collaboration with Red Hat and Liquid Reply
    •Extended crun to support call Spin binary
    •Let's see a demo!

    View full-size slide

  10. Want to try it?
    MAIN CALL TO ACTION HERE
    Get started
    • Spin Quickstart:
    https://developer.fermyon.com/spin/quickstart
    • OpenShift and Spin:
    • And stop by our booth at KubeCon

    View full-size slide