Skip to content

Commit

Permalink
Add sample to use dynamic config
Browse files Browse the repository at this point in the history
Signed-off-by: shaoyue.chen <[email protected]>
  • Loading branch information
haorenfsa committed May 20, 2024
1 parent e84d797 commit c9d72b3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions config/samples/milvus_config_dynamic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This is a sample to use dynamic configurations for milvus
# note milvus version has to be v2.3.0 or later
apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
name: my-release
labels:
app: milvus
spec:
dependencies: {}
components:
# make operator only update configMap when change spec.config field
updateConfigMapOnly: true
config:
# for allowed dynamic fields
# check https://milvus.io/docs/dynamic_config.md for latest version
# check https://milvus.io/docs/v2.3.x/dynamic_config.md for v2.3
# eg: change the max size of disk segment to 4096
dataCoord:
segment:
diskSegmentMaxSize: 4096 # default is 2048

0 comments on commit c9d72b3

Please sign in to comment.