Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Add more milvus configs for indexnode and indexcoord (#344)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Zeng <[email protected]>
  • Loading branch information
LoveEachDay authored Jul 8, 2022
1 parent e2f3b6b commit 4044e84
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/milvus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: milvus
appVersion: "2.0.2"
kubeVersion: "^1.10.0-0"
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
version: 3.0.27
version: 3.0.28
keywords:
- milvus
- elastic
Expand Down
2 changes: 2 additions & 0 deletions charts/milvus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ The following table lists the configurable parameters of the Milvus Index Coordi
| `indexCoordinator.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `unset` |
| `indexCoordinator.service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to lb (if supported) | `[]` |
| `indexCoordinator.service.externalIPs` | Service external IP addresses | `[]` |
| `indexCoordinator.gc.interval` | GC interval in seconds | `600` |

### Milvus Index Node Deployment Configuration

Expand All @@ -339,6 +340,7 @@ The following table lists the configurable parameters of the Milvus Index Node c
| `indexNode.affinity` | Affinity settings for Milvus Index Node pods assignment | `{}` |
| `indexNode.tolerations` | Toleration labels for Milvus Index Node pods assignment | `[]` |
| `indexNode.extraEnv` | Additional Milvus Index Node container environment variables | `[]` |
| `indexNode.scheduler.buildParallel` | Index task build paralellism | `1` |

### Milvus Data Coordinator Deployment Configuration

Expand Down
7 changes: 7 additions & 0 deletions charts/milvus/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ indexCoord:
clientMaxRecvSize: 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize: 104857600 # 100 MB, 100 * 1024 * 1024

gc:
interval: {{ .Values.indexCoordinator.gc.interval }} # gc interval in seconds

indexNode:
port: 21121

Expand All @@ -218,6 +221,10 @@ indexNode:
clientMaxRecvSize: 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize: 104857600 # 100 MB, 100 * 1024 * 1024

scheduler:
buildParallel: {{ .Values.indexNode.scheduler.buildParallel }} # one index node can run how many index tasks in parallel


dataCoord:
{{- if .Values.cluster.enabled }}
address: {{ template "milvus.datacoord.fullname" . }}
Expand Down
7 changes: 7 additions & 0 deletions charts/milvus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ indexCoordinator:
- name: GODEBUG
value: "madvdontneed=1"

gc:
interval: 600 # gc interval in seconds

service:
port: 31000
annotations: {}
Expand All @@ -286,6 +289,10 @@ indexNode:
- name: GODEBUG
value: "madvdontneed=1"

## Specify how many index tasks can parallelly run in the same index node
scheduler:
buildParallel: 1

dataCoordinator:
enabled: true
replicas: 1 # Run Data Coordinator mode with replication disabled
Expand Down

0 comments on commit 4044e84

Please sign in to comment.