mirror of
https://github.com/tencentmusic/cube-studio.git
synced 2025-02-17 14:40:28 +08:00
(fixbug):推理服务监听端口和生命探针接口重复,去重。
This commit is contained in:
parent
884de4dd6c
commit
5ef61dcdb2
@ -920,6 +920,7 @@ instance_group [
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
|
pod_ports = list(set(pod_ports))
|
||||||
k8s_client.create_deployment(
|
k8s_client.create_deployment(
|
||||||
namespace=namespace,
|
namespace=namespace,
|
||||||
name=name,
|
name=name,
|
||||||
@ -1115,4 +1116,4 @@ class InferenceService_ModelView_Api(InferenceService_ModelView_base,MyappModelR
|
|||||||
'metrics', 'health', 'expand','volume_mount']
|
'metrics', 'health', 'expand','volume_mount']
|
||||||
edit_columns = add_columns
|
edit_columns = add_columns
|
||||||
|
|
||||||
appbuilder.add_api(InferenceService_ModelView_Api)
|
appbuilder.add_api(InferenceService_ModelView_Api)
|
||||||
|
Loading…
Reference in New Issue
Block a user