179 lines
5.9 KiB
XML
179 lines
5.9 KiB
XML
{
|
|
"id": "cpcpod_tbl",
|
|
"widgettype": "Tabular",
|
|
"options": {
|
|
"title": "集群实时资源实例",
|
|
"description":"显示非系统命名空间下实时资源实例",
|
|
"css": "card",
|
|
"editable": {
|
|
"new_data_url": "{{entire_url('add_cpcpod.dspy')}}",
|
|
"delete_data_url": "{{entire_url('delete_cpcpod.dspy')}}",
|
|
"update_data_url": "{{entire_url('update_cpcpod.dspy')}}"
|
|
},
|
|
"data_url": "{{entire_url('./get_cpcpod.dspy')}}",
|
|
"data_method": "GET",
|
|
"data_params": {{json.dumps(params_kw, indent=4, ensure_ascii=False)}},
|
|
"row_options": {
|
|
"browserfields": {
|
|
"exclouded": [
|
|
"id",
|
|
"cpcid",
|
|
"clusterid"
|
|
],
|
|
"alters": {}
|
|
},
|
|
"editexclouded": [
|
|
"id",
|
|
"cpcid",
|
|
"clusterid"
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "pod_namespace",
|
|
"title": "命名空间",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 14,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "命名空间"
|
|
},
|
|
{
|
|
"name": "pod_name",
|
|
"title": "资源实例名称",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 20,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "资源实例名称"
|
|
},
|
|
{
|
|
"name": "pod_ready",
|
|
"title": "就绪状态",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 5,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "就绪状态"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32,
|
|
"cwidth": 10,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "id"
|
|
},
|
|
{
|
|
"name": "cpcid",
|
|
"title": "算力中心id",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 10,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "算力中心id"
|
|
},
|
|
{
|
|
"name": "pod_running",
|
|
"title": "运行状态",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 10 ,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "运行状态"
|
|
},
|
|
{
|
|
"name": "pod_restart",
|
|
"title": "重启次数",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 5,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "重启次数"
|
|
},
|
|
{
|
|
"name": "pod_age",
|
|
"title": "运行时长",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 5,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "运行时长"
|
|
},
|
|
{
|
|
"name": "pod_ip",
|
|
"title": "集群内部IP",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 10,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "集群内部IP"
|
|
},
|
|
{
|
|
"name": "pod_node",
|
|
"title": "Pod节点主机名",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 16,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "Pod节点主机名"
|
|
},
|
|
{
|
|
"name": "pod_nominated_node",
|
|
"title": "Pod指定节点",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 8,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "Pod指定节点"
|
|
},
|
|
{
|
|
"name": "pod_cpurate",
|
|
"title": "cpu占用率",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 8,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "cpu占用率"
|
|
},
|
|
{
|
|
"name": "pod_memrate",
|
|
"title": "内存占用率",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 8,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "内存占用率"
|
|
},
|
|
{
|
|
"name": "pod_readiness_gates",
|
|
"title": "盖茨准备",
|
|
"type": "str",
|
|
"length": 255,
|
|
"cwidth": 8,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "盖茨准备"
|
|
}
|
|
]
|
|
},
|
|
"page_rows": 160,
|
|
"cache_limit": 5
|
|
},
|
|
"binds": []
|
|
} |