liveBook · Manning

SpinAppExecutor

As explained in Server-Side WebAssembly

SpinAppExecutor is a SpinKube custom resource that specifies how SpinApp workloads are executed.

SpinAppExecutor is a SpinKube custom resource that tells the Spin operator which executor and runtime should execute SpinApp workloads. It can also control deployment creation and default CA certificate installation. section 8.2.1

Configure the Spin executor

A typical resource enables deployment creation and selects the wasmtime-spin-v2 RuntimeClass through the containerd-shim-spin executor. Applying it gives the operator the desired execution settings for compatible SpinApp workloads. section 8.2.1

Listing 8.2 SpinAppExecutor resource
apiVersion: core.spinkube.dev/v1alpha1
kind: SpinAppExecutor
metadata:
    name: containerd-shim-spin
spec:
    createDeployment: true
    deploymentConfig:
        runtimeClassName: wasmtime-spin-v2
        installDefaultCACerts: true

Inspect the complete SpinAppExecutor manifest, including its API version, executor name, deployment flag, RuntimeClass, and CA certificate setting. section 8.2.1

How Server-Side WebAssembly covers it

How deep it goes
Defines executor linkage and deployment options, but does not detail operator implementation internals.
Examples
Uses a containerd-shim-spin resource with wasmtime-spin-v2, deployment creation, and default CA certificates enabled.
What it assumes
Assumes Kubernetes, SpinKube CRDs, a Spin operator, and a compatible RuntimeClass are installed.
What you can do after
Operate/configure SpinKube execution by applying a SpinAppExecutor resource linked to a Wasm RuntimeClass.
How it connects
Connects SpinApp workloads with Kubernetes RuntimeClass, Custom Resource Definition, and operator concepts.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Server-Side WebAssembly. The section links point to the parts of the book it draws on.