Skip to content

Commit

Permalink
format milvus helm
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffoverflow committed Jan 6, 2020
1 parent 8ab361a commit a93cbeb
Show file tree
Hide file tree
Showing 31 changed files with 116 additions and 332 deletions.
File renamed without changes.
File renamed without changes.
35 changes: 27 additions & 8 deletions milvus/README.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,26 @@ The command removes all the Kubernetes components associated with the chart and

## Configuration

### Milvus Configuration
### Milvus Server Configuration
| Parameter | Description | Default |
|-------------------------------------------|-----------------------------------------------|---------------------------------------------------------|
| `primaryPath` | Path used to store data and metadata | `/var/lib/milvus/data` |
| `timeZone` | Time zone | `UTC+8` |
| `backendURL` | URI format: dialect://username:password@host:port/database,Replace 'dialect' with 'mysql' or 'sqlite' | `""` |
| `deployMode` | Deployment type: single, cluster_readonly, cluster_writable | `single` |
| `insertBufferSize` | Maximum insert buffer size allowed (GB) | `4` |
| `cpuCacheCapacity` | Size of CPU memory used for cache (GB) | `16` |
| `cacheInsertData` | Load inserted data into cache | `false` |
| `useBLASThreshold` | BLAS threshold | `1100` |
| `gpuSearchThreshold` | GPU search threshold | `1100` |
| `gpu.enabled` | Enable GPU resources | `false` |
| `gpu.cacheCapacity` | Size of GPU memory per card used for cache (GB) | `4` |
| `gpu.searchResources` | Define the GPU devices used for search computation | `[gpu0]` |
| `gpu.buildIndexResources` | Define the GPU devices used for index building | `[gpu0]` |
| `metrics.enabled` | Set this to `true` to enable exporting Prometheus monitoring metrics | `false` |
| `metrics.port` | Prometheus monitoring metrics port | `8080` |

### Milvus Deploy Configuration

The following table lists the configurable parameters of the milvus chart and their default values.

Expand All @@ -75,17 +94,17 @@ The following table lists the configurable parameters of the milvus chart and th
| `service.nodePort` | Kubernetes service nodePort | `unset` |
| `service.annotations` | Service annotations | `{}` |
| `service.labels` | Custom labels | `{}` |
| `service.clusterIP` | internal cluster service IP | `unset` |
| `service.clusterIP` | Internal cluster service IP | `unset` |
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `unset` |
| `service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to lb (if supported) | `[]` |
| `serivce.externalIPs` | service external IP addresses | `[]` |
| `persistence.enabled` | Use persistent volume to store data | `false` |
| `persistence.annotations` | PersistentVolumeClaim annotations | `{}` |
| `persistence.persistentVolumeClaim.existingClaim` | Use your own data Persistent Volume existing claim name | `unset` |
| `persistence.persistentVolumeClaim.storageClass` | The milvus data Persistent Volume Storage Class | `unset` |
| `persistence.persistentVolumeClaim.accessModes` | The milvus data Persistence access modes | `ReadWriteMany` |
| `persistence.persistentVolumeClaim.size` | The size of milvus data Persistent Volume Storage Class | `50Gi` |
| `persistence.persistentVolumeClaim.subPath` | SubPath for milvus data mount | `data` |
| `persistence.persistentVolumeClaim.existingClaim` | Use your own data Persistent Volume existing claim name | `unset` |
| `persistence.persistentVolumeClaim.storageClass` | The milvus data Persistent Volume Storage Class | `unset` |
| `persistence.persistentVolumeClaim.accessModes` | The milvus data Persistence access modes | `ReadWriteMany` |
| `persistence.persistentVolumeClaim.size` | The size of milvus data Persistent Volume Storage Class | `50Gi` |
| `persistence.persistentVolumeClaim.subPath` | SubPath for milvus data mount | `data` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `affinity` | Affinity settings for pod assignment | `{}` |
Expand Down Expand Up @@ -114,4 +133,4 @@ The following table lists the configurable parameters of the mysql chart and the
| `mysql.persistence.annotations` | Persistent Volume annotations | `{}` |
| `mysql.persistence.storageClass` | Type of persistent volume claim | `unset` |
| `mysql.persistence.accessMode` | ReadWriteOnce or ReadOnly | `ReadWriteOnce` |
| `mysql.persistence.size` | Size of persistent volume claim | `8Gi RW` |
| `mysql.persistence.size` | Size of persistent volume claim | `8Gi` |
File renamed without changes.
10 changes: 10 additions & 0 deletions ci/db_backend/mysql_cpu_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
gpu:
enabled: false

mysql:
enabled: true
persistence:
enabled: false
storageClass: default
accessMode: ReadWriteOnce
size: 5Gi
15 changes: 15 additions & 0 deletions ci/db_backend/mysql_gpu_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
gpu:
enabled: true
cacheCapacity: 4
searchResources:
- gpu0
buildIndexResources:
- gpu0

mysql:
enabled: true
persistence:
enabled: false
storageClass: default
accessMode: ReadWriteOnce
size: 5Gi
5 changes: 5 additions & 0 deletions ci/db_backend/sqlite_cpu_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
gpu:
enabled: false

mysql:
enabled: false
10 changes: 10 additions & 0 deletions ci/db_backend/sqlite_gpu_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
gpu:
enabled: true
cacheCapacity: 4
searchResources:
- gpu0
buildIndexResources:
- gpu0

mysql:
enabled: false
8 changes: 4 additions & 4 deletions milvus/ci/filebeat/values.yaml → ci/filebeat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ extraContainers: |
- name: milvus-configmap
mountPath: /etc/filebeat.yml
subPath: filebeat.yml
- name: milvus-log-disk
mountPath: /var/lib/milvus/logs
subPath: logs
- name: milvus-data-disk
mountPath: /var/lib/milvus/data
subPath: data
extraConfigFiles:
filebeat.yml: |-
filebeat.inputs:
- type: log
paths:
- /var/lib/milvus/logs/*.log
- /var/lib/milvus/data/logs/*.log
tags: ["milvus"]
fields_under_root: true
fields:
Expand Down
45 changes: 0 additions & 45 deletions milvus/ci/config/mysql/cpu/server_config.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions milvus/ci/config/mysql/gpu/server_config.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions milvus/ci/config/sqlite/cpu/server_config.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions milvus/ci/config/sqlite/gpu/server_config.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions milvus/ci/db_backend/mysql_cpu_values.yaml

This file was deleted.

Loading

0 comments on commit a93cbeb

Please sign in to comment.