forked from milvus-io/milvus-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
executable file
·224 lines (202 loc) · 5.5 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# Default values for milvus.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Milvus Server Configuration
version: 0.4
primaryPath: "/var/lib/milvus/data"
timeZone: "UTC+8"
#backendURL: ""
deployMode: "single"
insertBufferSize: 1
cpuCacheCapacity: 4
cacheInsertData: false
useBLASThreshold: 1100
gpuSearchThreshold: 1100
autoFlushInterval: 1
gpu:
enabled: false
cacheCapacity: 1
searchResources:
- gpu0
buildIndexResources:
- gpu0
metrics:
enabled: false
address: 127.0.0.1
port: 8080
wal:
enabled: true
ignoreErrorLog: false
bufferSize: 128
recordSize: 2
path: /var/lib/milvus/data/wal
# Common
initContainerImage: "alpine:3.8"
extraInitContainers: []
## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
## ref: http://kubernetes.io/docs/user-guide/services/
##
service:
type: ClusterIP
port: 19530
annotations: {}
labels: {}
portName: service
## List of IP addresses at which the Prometheus server service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
externalIPs: []
# - externalIp1
# LoadBalancerSourcesRange is a list of allowed CIDR values, which are combined with ServicePort to
# set allowed inbound rules on the security group assigned to the master load balancer
loadBalancerSourceRanges:
- 0.0.0.0/0
# Optionally assign a known public LB IP
# loadBalancerIP: 1.2.3.4
extraContainers: |
# - name: filebeat
# image: docker.elastic.co/beats/filebeat:7.0.1
# args: [
# "-c", "/etc/filebeat.yml",
# "-e",
# ]
# resources:
# limits:
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 100Mi
# securityContext:
# runAsUser: 0
# volumeMounts:
# - name: milvus-configmap
# mountPath: /etc/filebeat.yml
# subPath: filebeat.yml
# - name: milvus-data-disk
# mountPath: /var/lib/milvus/data
# subPath: data
extraVolumes: []
# - name: extras
# emptyDir: {}
extraVolumeMounts: []
# - name: extras
# mountPath: /usr/share/extras
# readOnly: true
extraConfigFiles: {}
# filebeat.yml: |-
# filebeat.inputs:
# - type: log
# paths:
# - /var/lib/milvus/data/logs/*.log
# tags: ["milvus"]
# fields_under_root: true
# fields:
# app: milvus
# type: log
# output.logstash:
# hosts: ['ls-logstash.default.svc.cluster.local:5044']
persistence:
## If true, alertmanager will create/use a Persistent Volume Claim
## If false, use emptyDir
##
enabled: false
annotations: {}
# helm.sh/resource-policy: keep
persistentVolumeClaim:
existingClaim: ""
## milvus data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClass:
accessModes: ReadWriteMany
size: 50Gi
subPath: data
image:
repository: milvusdb/milvus
tag: cpu-latest
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
replicas: 1
resources:
limits:
memory: "12Gi"
cpu: "4.0"
requests:
memory: "8Gi"
cpu: "2.0"
livenessProbe:
tcpSocket:
port: 19530
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 10
failureThreshold: 5
readinessProbe:
tcpSocket:
port: 19530
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 10
failureThreshold: 3
nodeSelector: {}
tolerations: []
affinity: {}
## Additional deployment annotations
podAnnotations: {}
## See `kubectl explain poddisruptionbudget.spec` for more
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget: {}
# minAvailable: 1
# maxUnavailable: 1
## Configuration values for the mysql dependency
## ref: https://github.com/kubernetes/charts/blob/master/stable/mysql/README.md
##
mysql:
enabled: true
name: mysql
imageTag: "5.7.14"
imagePullPolicy: IfNotPresent
mysqlDatabase: milvus
mysqlUser: milvus
mysqlPassword: milvus
mysqlRootPassword: milvusroot
configurationFiles:
mysql.cnf: |-
[mysqld]
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
datadir = /data
log-error = /var/log/mysql/error.log # mount out to host
skip-name-resolve
# By default we only accept connections from localhost
bind-address = 0.0.0.0
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
skip-character-set-client-handshake = true
max_connections = 1000
wait_timeout = 31536000
initializationFiles:
grant.sql: |-
GRANT ALL PRIVILEGES ON milvus.* TO 'root'@'%';
FLUSH PRIVILEGES;
persistence:
enabled: true
existingClaim: ""
annotations: {}
# "helm.sh/resource-policy": keep
storageClass:
accessMode: ReadWriteOnce
size: 8Gi