{ "id": "cpcnode_tbl", "widgettype": "Tabular", "options": { "title": "集群资源实例YAML配置", "description":"显示非系统命名空间下所有资源实例对应的静态YAML参数,更新资源YAML后,kubernetes集群会根据整体资源情况,自动调整资源实例", "css": "card", "editable": { "new_data_url": "{{entire_url('add_cpcpodyaml.dspy')}}", "delete_data_url": "{{entire_url('delete_cpcpodyaml.dspy')}}", "update_data_url": "{{entire_url('update_cpcpodyaml.dspy')}}" }, "data_url": "{{entire_url('./get_cpcpodyaml.dspy')}}", "data_method": "GET", "data_params": {{json.dumps(params_kw, indent=4, ensure_ascii=False)}}, "row_options": { "browserfields": { "exclouded": [ "cpcid", "clusterid" ], "alters": {} }, "editexclouded": [ "id", "cpcid", "clusterid" ], "fields": [ { "name": "id", "title": "资源级联标识", "type": "str", "length": 32, "cwidth": 12, "uitype": "str", "datatype": "str", "label": "资源级联标识" }, { "name": "cpcid", "title": "算力中心id", "type": "str", "length": 32, "nullable": "no", "cwidth": 18, "uitype": "str", "datatype": "str", "label": "算力中心id" }, { "name": "clusterid", "title": "所属集群", "type": "long", "length": 0, "nullable": "yes", "cwidth": 18, "uitype": "int", "datatype": "long", "label": "所属集群" }, { "name": "source_name", "title": "资源名称", "type": "str", "length": 255, "cwidth": 8, "uitype": "str", "datatype": "str", "label": "资源名称" }, { "name": "namespace_name", "title": "命名空间", "type": "str", "length": 255, "cwidth": 14, "uitype": "str", "datatype": "str", "label": "命名空间" }, { "name": "serviceaccount_name", "title": "服务认证", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "服务认证" }, { "name": "podcd_name", "title": "资源控制器名称", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源控制器名称" }, { "name": "service_name", "title": "服务名称", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "服务名称" }, { "name": "source_replicasetnum", "title": "资源副本数量", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源副本数量" }, { "name": "source_authuser", "title": "资源认证用户", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源认证用户" }, { "name": "source_authpasswd", "title": "资源认证密码", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源认证密码" }, { "name": "source_podengine", "title": "资源控制器", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源控制器" }, { "name": "pod_imagepath", "title": "资源镜像路径", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源镜像路径" }, { "name": "source_memrate", "title": "资源内存限制", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源内存限制" }, { "name": "source_cpurate", "title": "资源CPU速率限制", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源CPU速率限制" }, { "name": "source_selflabel", "title": "资源自身标签", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源自身标签" }, { "name": "source_portmode", "title": "资源端口模式", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源端口模式" }, { "name": "source_restartpolicy", "title": "资源重启策略", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源重启策略" }, { "name": "source_apiport", "title": "资源服务监听端口", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源服务监听端口" }, { "name": "source_insideport", "title": "资源内部端口", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源内部端口" }, { "name": "source_outsideport", "title": "资源外部端口", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "资源外部端口" }, { "name": "source_mountpath", "title": "容器内部挂载点", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "容器内部挂载点" }, { "name": "source_mountpv", "title": "容器存储盘", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "容器存储盘" }, { "name": "source_storagelimits", "title": "容器存储盘限制", "type": "str", "length": 255, "cwidth": 16, "uitype": "str", "datatype": "str", "label": "容器存储盘限制" } ] }, "page_rows": 160, "cache_limit": 5 }, "binds": [] }