def agent(machine_manager, volume_manager):
return Agent(machine_manager, volume_manager, {
'agent_ttl': 60,
'max_error_count': 3,
'max_error_timeout': 10,
'node': {
'volume_path': '/mnt',
'conf_path': '/etc/cobalt.conf',
'max_fill': 0.8,
'conf': {
'name': 'test-node',
'labels': ['ssd']
}
},
'watch_timeout': 10
})
评论列表
文章目录