curl --location 'https://openapi.suanli.cn/api/task/deployment/detail?task_id=1' \
--header 'token;' \
--header 'timestamp: {{$date.millisecondsTimestamp}}' \
--header 'version: 1.0.0' \
--header 'sign_str;'{
"code": "0000",
"message": "success",
"data": {
"task_id": 6232,
"task_type": "Deployment",
"task_name": "d202603261611-ubuntu2404",
"namespace": "clijjgmdzglagqueg9ezem0m6vhzusxq-12",
"resources": [
{
"resource": {
"device_name": "4090",
"region": "bj-jxq-t2",
"gpu_name": "4090",
"gpu_count": 1,
"gpu_memory": 24560,
"memory": 129024,
"cpu_cores": 18
},
"region_name": "北京酒仙桥t2",
"mark": "J19Cg02JMM7pVim3XPCik/U6vLaBl/dYKodWFvzjPWWGJInsPwDdSxdy9/JlWA4GfzNWzeJB/tuGiSNTWLu4QY8g8FizMIg3a51r+dNVGZh8Tp8XOEbxyOrKGLhHcJyLaAhZHlg4Esc7duvMDmQPgRm6aH4cHRIt1f3G6zhb1SUj+0tzZr/5UPLBduBg",
"weight": null
}
],
"scheduler_strategy": null,
"scheduler_resources": null,
"status": "Running",
"points": 1,
"runing_points": 1,
"billing_points": 1,
"billing_value": 57956886,
"forecast_value": 466,
"services": [
{
"service_id": 6544,
"service_name": "container-01",
"service_image": "harbor.suanleme.cn/ogy4dqkh/ubuntu:24.04",
"remote_ports": [
{
"url": "https://deployment-12-177lum01-80.novastream.cn",
"service_port": 80
}
],
"health_checks": {
"liveness_probe": {
"switch": false,
"probe_type": "httpGet",
"path": "/live",
"port": 80,
"initial_delay_seconds": 0,
"period_seconds": 10,
"timeout_seconds": 1,
"failure_threshold": 3
},
"startup_probe": {
"switch": false,
"probe_type": "httpGet",
"path": "/health",
"port": 80,
"initial_delay_seconds": 0,
"period_seconds": 10,
"timeout_seconds": 1,
"failure_threshold": 3
},
"readiness_probe": {
"switch": false,
"probe_type": "httpGet",
"path": "/ready",
"port": 80,
"initial_delay_seconds": 0,
"period_seconds": 10,
"timeout_seconds": 1,
"failure_threshold": 3
}
},
"storage_config": [],
"share_storage_config": [
{
"storage_id": 78,
"target_dir": "/root/share"
}
],
"share_mem_config": [
{
"target_dir": "/dev/shm",
"volume_name": "mem-default"
}
],
"share_disk_config": [
{
"target_dir": "/root/shd",
"volume_name": "edd"
}
],
"env": [
{
"name": "a",
"value": "1",
"value_from": null
},
{
"name": "MY_POD_NAME",
"value": null,
"value_from": {
"field_ref": {
"field_path": "metadata.name"
},
"resource_field_ref": null
}
},
{
"name": "CPU_LIMIT",
"value": null,
"value_from": {
"field_ref": null,
"resource_field_ref": {
"service_name": "container-01",
"resource": "limits.cpu"
}
}
}
],
"start_script": {
"command": [
"tail"
],
"args": [
"-f",
"/dev/null"
]
},
"repository_account": null,
"is_update_repository": null,
"resource_weight": {
"cpu_weight": 1,
"mem_weight": 1,
"gpu_weight": 1
},
"registered_ports": null
}
],
"deployment_yaml": null,
"development_support": null,
"deployment_name": "deployment-12-177lum01",
"task_tags": null,
"dynamic_pod_strategy": null,
"load_balance": null,
"task_schedules": null,
"task_qos": {
"class": "Guaranteed"
},
"share_disk_volumes": [
{
"name": "edd"
}
],
"share_mem_volumes": [
{
"name": "mem-default",
"size_limit": 64
}
],
"scheduling_template": null
}
}