imbajin commented on code in PR #195:
URL: 
https://github.com/apache/incubator-hugegraph-ai/pull/195#discussion_r1984511636


##########
charts/hg-llm/values.yaml:
##########
@@ -0,0 +1,125 @@
+# Default values for hg-llm.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
+# This will set the replicaset count more information can be found here: 
https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
+replicaCount: 1
+
+# This sets the container image more information can be found here: 
https://kubernetes.io/docs/concepts/containers/images/
+image:
+  repository: 10.41.58.81/kgs_bd/hugegraph-llm

Review Comment:
   ```suggestion
     repository: hugegraph/llm
   ```



##########
scripts/build_llm_image.sh:
##########
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+tag="v0.0.1"
+
+script_dir=$(realpath "$(dirname "$0")")
+
+cd "${script_dir}/../docker"
+
+name="iregistry.baidu-int.com/hugegraph-vermeer/hugegraph-llm:${tag}"
+
+docker build -f Dockerfile.llm -t ${name} ..

Review Comment:
   ```suggestion
   docker build -f Dockerfile.llm -t ${name} ..
   
   ```



##########
docker/docker-compose-llm.yml:
##########
@@ -0,0 +1,10 @@
+version: '3'
+services:
+  hugegraph-llm:
+    build:
+      context: ..
+      dockerfile: ./docker/Dockerfile.llm
+  container_name: hugegraph-llm-rag
+  restart: always
+  ports:
+    - "8080:8080"

Review Comment:
   ```suggestion
       - "8080:8080"
   
   ```



##########
charts/hg-llm/templates/service.yaml:
##########
@@ -0,0 +1,18 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: {{ include "hg-llm.fullname" . }}
+  labels:
+    {{- include "hg-llm.labels" . | nindent 4 }}
+spec:
+  type: {{ .Values.service.type }}
+  externalTrafficPolicy: Cluster
+  internalTrafficPolicy: Cluster
+  ports:
+    - port: {{ .Values.service.port }}
+      targetPort: {{ .Values.service.targetPort }}
+      nodePort: {{ .Values.service.nodePort }}
+      protocol: TCP
+      name: http
+  selector:
+    {{- include "hg-llm.selectorLabels" . | nindent 4 }}

Review Comment:
   ```suggestion
       {{- include "hg-llm.selectorLabels" . | nindent 4 }}
       
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to