init repo
This commit is contained in:
14
src/milvus/Makefile
Normal file
14
src/milvus/Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
HELM_RELEASE_NAME ?= milvus
|
||||
HELM_APPLICATION_NAME ?= milvus
|
||||
HELM_NAMESPACE ?= milvus
|
||||
HELM_DIR ?= ./helm
|
||||
HELM_CHART_VERSION ?= 5.0.13
|
||||
HELM_VALUES_FILE ?= ./values.yaml
|
||||
HELM_OCI_REGISTRY ?= docker.io
|
||||
HELM_OCI_NAMESPACE ?=
|
||||
HELM_REPO_NAME ?= milvus
|
||||
HELM_REPO_URL ?= https://zilliztech.github.io/milvus-helm
|
||||
HELM_CHART_REPO ?= $(HELM_REPO_NAME)/$(HELM_APPLICATION_NAME)
|
||||
HELM_LANE ?=
|
||||
|
||||
include ../_template/base.mk
|
||||
29
src/milvus/README.md
Normal file
29
src/milvus/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Milvus
|
||||
|
||||
## Introduction
|
||||
|
||||
Milvus is an open-source vector database built to power embedding similarity search and AI applications.
|
||||
|
||||
## Installation
|
||||
|
||||
To install Milvus, run:
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
After installation, verify the deployment:
|
||||
|
||||
```bash
|
||||
kubectl get pods -n milvus
|
||||
```
|
||||
|
||||
To connect to Milvus, use the Python SDK or REST API. Port-forward the service:
|
||||
|
||||
```bash
|
||||
kubectl port-forward svc/milvus 19530:19530 -n milvus
|
||||
```
|
||||
|
||||
Then connect using the client.
|
||||
29
src/milvus/README.zh.md
Normal file
29
src/milvus/README.zh.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Milvus
|
||||
|
||||
## 简介
|
||||
|
||||
Milvus 是一个开源的向量数据库,专为嵌入相似性搜索和 AI 应用而构建。
|
||||
|
||||
## 安装
|
||||
|
||||
要安装 Milvus,请运行:
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
安装后,验证部署:
|
||||
|
||||
```bash
|
||||
kubectl get pods -n milvus
|
||||
```
|
||||
|
||||
要连接到 Milvus,使用 Python SDK 或 REST API。端口转发服务:
|
||||
|
||||
```bash
|
||||
kubectl port-forward svc/milvus 19530:19530 -n milvus
|
||||
```
|
||||
|
||||
然后使用客户端连接。
|
||||
67
src/milvus/values.yaml
Normal file
67
src/milvus/values.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
cluster:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
accessMode: ReadWriteOnce
|
||||
size: 50Gi
|
||||
|
||||
attu:
|
||||
enabled: true
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations: {}
|
||||
hosts:
|
||||
- attu.local
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations: {}
|
||||
labels: {}
|
||||
rules:
|
||||
- host: milvus.local
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
standalone:
|
||||
enabled: true
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "2Gi"
|
||||
requests:
|
||||
cpu: "0.1"
|
||||
memory: "512Mi"
|
||||
persistence:
|
||||
persistentVolumeClaim:
|
||||
storageClass: local-path
|
||||
|
||||
pulsarv3:
|
||||
enabled: false
|
||||
|
||||
minio:
|
||||
enabled: true
|
||||
name: minio
|
||||
mode: standalone
|
||||
persistence:
|
||||
enabled: true
|
||||
existingClaim: ""
|
||||
storageClass: local-path
|
||||
accessMode: ReadWriteOnce
|
||||
size: 500Gi
|
||||
|
||||
etcd:
|
||||
enabled: true
|
||||
name: etcd
|
||||
replicaCount: 3
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
Reference in New Issue
Block a user