Modify UI Port for CodeGen to avoid unsafe_port issue (#249)

Signed-off-by: zehao-intel <zehao.huang@intel.com>
This commit is contained in:
zehao-intel
2024-05-31 20:55:28 +08:00
committed by GitHub
parent ecb273216b
commit b160010ad3
10 changed files with 18 additions and 18 deletions

View File

@@ -29,7 +29,7 @@ Make sure all the pods are running, and restart the codegen-xxxx pod if necessar
```
kubectl get pods
curl http://codegen:6666/v1/codegen -H "Content-Type: application/json" -d '{
curl http://codegen:7778/v1/codegen -H "Content-Type: application/json" -d '{
"messages": "Implement a high-level API for a TODO list application. The API takes as input an operation request and updates the TODO list in place. If the request is invalid, raise an exception."
}'
```

View File

@@ -58,8 +58,8 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 6666
targetPort: 6666
- port: 7778
targetPort: 7778
protocol: TCP
name: codegen
selector:
@@ -202,6 +202,6 @@ spec:
imagePullPolicy: IfNotPresent
ports:
- name: codegen
containerPort: 6666
containerPort: 7778
protocol: TCP
resources: null

View File

@@ -58,8 +58,8 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 6666
targetPort: 6666
- port: 7778
targetPort: 7778
protocol: TCP
name: codegen
selector:
@@ -200,6 +200,6 @@ spec:
imagePullPolicy: IfNotPresent
ports:
- name: codegen
containerPort: 6666
containerPort: 7778
protocol: TCP
resources: null