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: ports:
- name: web - name: web
protocol: TCP protocol: TCP
port: 2002 port: 2001
targetPort: 2002 targetPort: 2001
type: ClusterIP type: ClusterIP

View File

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

View File

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

View File

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