Skip to main content
Version: v1.4

Customize Template Files

Dayu composes each installation from the YAML files under template/. Clone the system repository on the cloud node and edit a copy of this directory for the target deployment:

git clone https://github.com/dayu-autostreamer/dayu.git
cd dayu/template

The main layout is:

template/
├── base.yaml
├── scheduler_policies.yaml
├── services.yaml
├── result-visualizations.yaml
├── system-visualizations.yaml
├── scheduler/
├── processor/
├── generator/
├── controller/
├── distributor/
└── monitor/

Catalog and system files

FilePurposeReference
base.yamlNamespace, Backend RBAC, runtime timeouts, images, mounts, datasource mode, and catalog imports.Base Template
scheduler_policies.yamlInstallable policy catalog and each policy's component-template dependencies.Scheduler Policies
services.yamlDAG service catalog and processor-template mapping.Services
result-visualizations.yamlTask-result visualization modules.Result Visualizations
system-visualizations.yamlRuntime and resource visualization modules.System Visualizations

Component templates

Files under scheduler/, processor/, generator/, controller/, distributor/, and monitor/ are logical component templates. Backend combines the selected policy, DAG, source, nodes, image defaults, and mounted files, then renders immutable Sedna RuntimeService resources. These templates are no longer converted into one application JointMultiEdgeService.

TemplateRoleReference
common fieldsPosition, image, environment, port, cloud/edge overlays, and host-path mounts.Common Template
scheduler/*.yamlScheduler hook selection and policy parameters.Scheduler Template
processor/*.yamlAI service image, processor family, queue, model parameters, and files.Processor Template
generator/*.yamlSource-processing and scheduling-request hooks.Generator Template
controller/*.yamlTask forwarding behavior.Controller Template
distributor/*.yamlResult persistence and export service.Distributor Template
monitor/*.yamlResource and queue-state monitor sets.Monitor Template

Backend validates catalog references, node permissions, deployment plans, ports, mounts, and effective environment before route publication. Keep policy-specific model or profile assets under the mounted paths expected by that template.