Review generated Wasm Pod

from WebAssembly containers
Node 24 advanced 6 min 5 issues to find

Review this generated Wasm Pod before it enters the deployment repository.

Deploy a reviewed receipt component through the platform-owned RuntimeClass, expose only its database credential, check health without a shell, and enforce resource bounds.

YAML
apiVersion: v1
kind: Pod
metadata:
  name: receipt-worker
spec:
  runtimeClassName: wasmtime
  containers:
    - name: worker
      image: registry.example/receipt:latest
      envFrom:
        - secretRef:
            name: all-service-secrets
      livenessProbe:
        exec:
          command: ["/bin/sh", "-c", "curl -f localhost:8080/health"]
      resources:
        requests:
          cpu: 10m
          memory: 16Mi

generated code is illustrative, not from any one model

Open in playground
Report an error