{ "summary": [ { "name": "cluster", "title": "集群", "primary": [ "id" ], "catelog": "entity" } ], "fields": [ { "name": "id", "title": "id", "type": "str", "length": 32, "nullable": "no" }, { "name": "resellerid", "title": "商户机构id", "type": "str", "length": 32, "nullable": "no" }, { "name": "pool_id", "title": "所属算力池", "type": "str", "length": 32 }, { "name": "name", "title": "集群名称", "type": "str", "length": 128, "nullable": "no" }, { "name": "cluster_type", "title": "集群类型(k8s/slurm/ray)", "type": "char", "length": 16, "nullable": "no" }, { "name": "version", "title": "版本号", "type": "str", "length": 64 }, { "name": "endpoint", "title": "API入口地址", "type": "str", "length": 256 }, { "name": "control_config", "title": "控制节点配置(JSON)", "type": "text" }, { "name": "compute_config", "title": "算力节点配置(JSON)", "type": "text" }, { "name": "status", "title": "状态(deploying/running/failed/stopped/destroyed)", "type": "char", "length": 16, "default": "deploying" }, { "name": "deploy_log", "title": "部署日志(JSON)", "type": "text" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no" }, { "name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no" } ], "codes": [ { "field": "pool_id", "table": "compute_pool", "valuefield": "id", "textfield": "name" }, { "field": "cluster_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='cluster_type'" }, { "field": "status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='cluster_status'" } ] }