base.yaml
base.yaml in template directory defines the basic information of dayu system, browse all the configurations and pay
attention to items with * to match your own deployment environment.
# Base configuration template for dayu system
# Namespace to distinguish different dayu deployments, please modify it when deploying multiple dayu systems in the same kubernetes cluster
namespace: dayu
# levels for container logging in dayu: DEBUG, INFO, WARNING, ERROR
log-level: DEBUG
# specify the downloaded result log file name, if not set, log file name will be generated with timestamps, e.g., RESULT_LOG_DAYU_NAMESPACE_dayu_TIME_2025_11_04_01_46_26.json.gz
log-file-name:
# export/retention controls for result logs and system logs
log-export:
result:
# keep the latest N task results in distributor storage to avoid unbounded growth, 0 means no limit
retention-records: 100000
# prune stale result records every N writes
retention-prune-interval: 10000
# batch size used when generating compressed export files
batch-size: 500
system:
# keep the latest N system snapshots in backend storage, 0 means no limit
retention-records: 100000
# compact the append-only store after it exceeds retention by this many records
compact-interval: 10000
# pod permission configuration for dayu containers
pod-permission:
service-account: worker-admin
cluster-role-binding: worker-admin-binding
# crd meta information of dayu containers (as specified in sedna/JointMultiEdgeService)
crd-meta:
api-version: sedna.io/v1alpha1
kind: JointMultiEdgeService
# cache ttl for kubernetes API objects in dayu containers, support never/<duration>. never means always use cached objects without refreshing except Non-hitting; <duration> is a cache refreshing ttl seconds, e.g., 5.0.
kube-cache-ttl: 5.0
# default image meta information for dayu containers, <registry>/<repository>/<image_name>:<tag>
default-image-meta:
registry: repo:5000
repository: dayuhub
tag: v1.3
# default file mount prefix for dayu containers
default-file-mount-prefix: "/data/dayu-files"
# datasource configuration
datasource:
# true/false, use a simulation datasource container or use a real datasource
use-simulation: true
# specify the edge node to run simulated datasource container, only valid when use-simulation is true
node: edgex1
# default data root path in datasource container, only valid when use-simulation is true
data-root: "/data/datasource/"
# cycle/non-cycle, play mode of the simulation datasource, only valid when use-simulation is true. cycle: loop playing; non-cycle: stop when the data is finished
play-mode: cycle
# import scheduler policy configurations
scheduler-policies:
!include scheduler_policies.yaml
# import service configurations
services:
!include services.yaml
# import result visualization configurations
result-visualizations:
!include result-visualizations.yaml
# import system visualization configurations
system-visualizations:
!include system-visualizations.yaml
The file paths default-file-mount-prefix and data-root is related to files deployed on your cluster nodes.
The specific files needed by dayu system are shown in deploy mounted files.