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