feat: add helm chart
This commit is contained in:
parent
fe2df48623
commit
3742d2a026
2 changed files with 22 additions and 5 deletions
|
|
@ -85,8 +85,15 @@ helm upgrade --install lightrag $SCRIPT_DIR/lightrag \
|
||||||
# --set-string env.REDIS_URI="redis://default:${REDIS_PASSWORD}@redis-cluster-redis-redis:6379"
|
# --set-string env.REDIS_URI="redis://default:${REDIS_PASSWORD}@redis-cluster-redis-redis:6379"
|
||||||
|
|
||||||
# Wait for LightRAG pod to be ready
|
# Wait for LightRAG pod to be ready
|
||||||
echo "Waiting for LightRAG pod to be ready..."
|
echo ""
|
||||||
|
echo "Waiting for lightrag pod to be ready..."
|
||||||
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=lightrag --timeout=60s -n rag
|
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=lightrag --timeout=60s -n rag
|
||||||
|
echo "lightrag pod is ready"
|
||||||
#echo "Current LightRAG Config: "
|
echo ""
|
||||||
#kubectl get secrets lightrag-env -o jsonpath='{.data.\.env}' -n rag | base64 -d
|
echo "Running Port-Forward:"
|
||||||
|
echo " kubectl --namespace rag port-forward svc/lightrag 9621:9621"
|
||||||
|
echo "==========================================="
|
||||||
|
echo ""
|
||||||
|
echo "✅ You can visit LightRAG at: http://localhost:9621"
|
||||||
|
echo ""
|
||||||
|
kubectl --namespace rag port-forward svc/lightrag 9621:9621
|
||||||
|
|
|
||||||
|
|
@ -67,5 +67,15 @@ helm upgrade --install lightrag-dev $SCRIPT_DIR/lightrag \
|
||||||
--set-string env.EMBEDDING_BINDING_API_KEY=$OPENAI_API_KEY
|
--set-string env.EMBEDDING_BINDING_API_KEY=$OPENAI_API_KEY
|
||||||
|
|
||||||
# Wait for LightRAG pod to be ready
|
# Wait for LightRAG pod to be ready
|
||||||
echo "Waiting for LightRAG pod to be ready..."
|
echo ""
|
||||||
|
echo "Waiting for lightrag-dev pod to be ready..."
|
||||||
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=lightrag-dev --timeout=60s -n rag
|
kubectl wait --for=condition=ready pod -l app.kubernetes.io/instance=lightrag-dev --timeout=60s -n rag
|
||||||
|
echo "lightrag-dev pod is ready"
|
||||||
|
echo ""
|
||||||
|
echo "Running Port-Forward:"
|
||||||
|
echo " kubectl --namespace rag port-forward svc/lightrag-dev 9621:9621"
|
||||||
|
echo "==========================================="
|
||||||
|
echo ""
|
||||||
|
echo "✅ You can visit LightRAG at: http://localhost:9621"
|
||||||
|
echo ""
|
||||||
|
kubectl --namespace rag port-forward svc/lightrag-dev 9621:9621
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue