Skip to main content
Version: v3.9.0

RuntimeClass fields

Reference for Controller kind: RuntimeClass. Attach and microservice binding are on Runtime classes.

handler is a top-level field, beside metadata. Describe uses the same shape and has no spec block. Author the root handler so a later describe round-trips.

Deploy
apiVersion: datasance.com/v3 # required, string
kind: RuntimeClass # required, string
metadata:
name: wasmtime # required, string. Lowercase alphanumeric
namespace: my-ecn # no, string
handler: wasmtime # required, string. Document root. Not under spec. spin, slight, lunatic, wws, wasmedge, wasmer, wasmtime, or edgelet-wasmtime

Not deployed​

These fields come back from describe. Leave them out of the file you pass to deploy.

status:
linkedAgents: [] # describe only

Fields​

FieldLocationRequiredDescription
metadata.namemetadataYesController resource name. Lowercase alphanumeric. Often the same string as handler.
handlerdocument rootYesRuntime key. The microservice copies it to container.runtime.

Handler keys​

The key must match a shim installed on the Edgelet node. Deploying this object does not install the binary. See Container engines.

HandlerShim
spinSpin
slightSlight
lunaticLunatic
wwsWasmer WWS
wasmedgeWasmEdge
wasmerWasmer
wasmtimeWasmtime
edgelet-wasmtimeEdgelet Wasmtime

Validation​

ConditionError
Missing metadata.nameName must be specified.
Invalid nameLowercase alphanumeric.
Missing handlerhandler must be specified.

The Controller can reject an unknown handler or a link request with 400 or 409.

Describe​

kind: RuntimeClass
metadata:
name: wasmtime
namespace: my-ecn
handler: wasmtime
status:
linkedAgents:
- edge-01

Attach and detach accept Edgelet node names. The link API accepts Edgelet nodes.

Group 3See anything wrong with the document? Help us improve it!