Version: v1.0
Worker
Description
Describes long-running, scalable, containerized services that running at backend. They do NOT have network endpoint to receive external network traffic.
Samples
apiVersion: core.oam.dev/v1beta1kind: Applicationmetadata:name: app-workerspec:components:- name: myworkertype: workerproperties:image: "busybox"cmd:- sleep- "1000"
Specification
# Properties+-------+----------------------------------------------------+----------+----------+---------+| NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |+-------+----------------------------------------------------+----------+----------+---------+| cmd | Commands to run in the container | []string | false | || image | Which image would you like to use for your service | string | true | |+-------+----------------------------------------------------+----------+----------+---------+