Worker

Description

Worker is a workload type to describe long-running, scalable, containerized services that running at backend. They do NOT have network endpoint to receive external network traffic.

Specification

List of all configuration options for a Worker workload type.

  1. name: my-app-name
  2. services:
  3. my-service-name:
  4. type: worker
  5. image: oamdev/testapp:v1
  6. cmd: ["node", "server.js"]

Parameters

NameTypeDescriptionNotes
Cmd[]string[optional]
Imagestringpecify app image