-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscheduler.yaml
More file actions
49 lines (42 loc) · 1.2 KB
/
scheduler.yaml
File metadata and controls
49 lines (42 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# DGPU Scheduler Configuration
server:
# gRPC server address for agent communication
grpc_address: ":9090"
# HTTP REST API address for external users
http_address: ":8080"
scheduler:
# Role: master or standby
role: "master"
# Scheduling interval in seconds
schedule_interval: 5
# Snapshot interval in seconds
snapshot_interval: 30
replication:
# Enable replication
enabled: true
# Peer scheduler address (standby address if this is master, vice versa)
peer_address: "scheduler-standby:9090"
# Heartbeat interval in seconds
heartbeat_interval: 2
# Heartbeat timeout (3 missed heartbeats)
heartbeat_timeout: 6
quota:
# Online service quota percentage (0.0 - 1.0)
online_percent: 0.7
# Batch processing quota percentage (0.0 - 1.0)
batch_percent: 0.3
agent:
# Agent heartbeat timeout in seconds
heartbeat_timeout: 15
storage:
# State snapshot directory
snapshot_dir: "/var/lib/dgpu-scheduler/state"
# Shared storage path for master election (optional)
shared_storage: "/mnt/shared/dgpu-scheduler"
logging:
# Log level: debug, info, warn, error
level: "info"
# Log format: json, text
format: "json"
# Log output: stdout, stderr, or file path
output: "stdout"