Skip to content

Instantly share code, notes, and snippets.

@shivaylamba
Created December 20, 2022 12:10
Show Gist options
  • Save shivaylamba/00f5385c6949ce21775179e6f807245a to your computer and use it in GitHub Desktop.
Save shivaylamba/00f5385c6949ce21775179e6f807245a to your computer and use it in GitHub Desktop.
cloud native meetup
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
  name: wasmedge
handler: wasmedge
---
apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: null
  name: wasm-test
spec:
  template:
    metadata:
      annotations:
        module.wasm.image/variant: compat-smart
      creationTimestamp: null
    spec:
      containers:
      - image: wasmedge/example-wasi:latest
        name: wasm-test
        resources: {}
      restartPolicy: Never
      runtimeClassName: wasmedge
  backoffLimit: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment