You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CodeGen/kubernetes/manifests/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@
6
6
7
7
> You can also customize the "MODEL_ID" if needed.
8
8
9
-
> You need to make sure you have created the directory `/mnt/opea-models` to save the cached model on the node where the CodeGEn workload is running. Otherwise, you need to modify the `codegen.yaml` file to change the `model-volume` to a directory that exists on the node.
9
+
> You need to make sure you have created the directory `/mnt/opea-models` to save the cached model on the node where the CodeGen workload is running. Otherwise, you need to modify the `codegen.yaml` file to change the `model-volume` to a directory that exists on the node.
10
+
> Alternatively, you can change the `codegen.yaml` to use a different type of volume, such as a persistent volume claim.
10
11
11
12
## Deploy On Xeon
12
13
@@ -30,10 +31,13 @@ kubectl apply -f codegen.yaml
30
31
31
32
To verify the installation, run the command `kubectl get pod` to make sure all pods are running.
32
33
33
-
Then run the command `kubectl port-forward svc/codegen 7778:7778` to expose the CodeGEn service for access.
34
+
Then run the command `kubectl port-forward svc/codegen 7778:7778` to expose the CodeGen service for access.
34
35
35
36
Open another terminal and run the following command to verify the service if working:
36
37
38
+
> Note that it may take a couple of minutes for the service to be ready. If the `curl` command below fails, you
39
+
> can check the logs of the codegen-tgi pod to see its status or check for errors.
0 commit comments