fix: 修复service端口号问题

Signed-off-by: devad <cossjie@foxmail.com>
This commit is contained in:
devad 2023-05-10 12:44:22 +08:00
parent bec7722adc
commit 58f40ecb53
4 changed files with 10 additions and 9 deletions

View File

@ -11,6 +11,6 @@ spec:
ports:
- name: web
protocol: TCP
port: 2002
targetPort: 2002
port: 2001
targetPort: 2001
type: ClusterIP

View File

@ -11,6 +11,6 @@ spec:
ports:
- name: web
protocol: TCP
port: 8999
targetPort: 8999
port: 2004
targetPort: 2004
type: ClusterIP

View File

@ -11,6 +11,6 @@ spec:
ports:
- name: web
protocol: TCP
port: 2005
targetPort: 2005
port: 2003
targetPort: 2003
type: ClusterIP

View File

@ -10,7 +10,8 @@ spec:
k8s-app: pcm-modelarts
ports:
- name: web
nodePort: 32495
protocol: TCP
port: 2003
targetPort: 2003
type: ClusterIP
port: 2002
targetPort: 2002
type: NodePort