mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
b7ff85638d
Fix #30314 Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
159 lines
4.4 KiB
YAML
159 lines
4.4 KiB
YAML
# Licensed to the LF AI & Data foundation under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# This is the configuration file for the etcd server.
|
|
# Only standalone users with embedded etcd should change this file, others could just keep this file As Is.
|
|
# All the etcd client should be added to milvus.yaml if necessary
|
|
|
|
# Human-readable name for this member.
|
|
name: 'default'
|
|
# Path to the data directory.
|
|
data-dir:
|
|
|
|
# Path to the dedicated wal directory.
|
|
wal-dir:
|
|
|
|
# Number of committed transactions to trigger a snapshot to disk.
|
|
snapshot-count: 1000
|
|
|
|
# Time (in milliseconds) of a heartbeat interval.
|
|
heartbeat-interval: 100
|
|
|
|
# Time (in milliseconds) for an election to timeout.
|
|
election-timeout: 1000
|
|
|
|
# Raise alarms when backend size exceeds the given quota. 0 means use the
|
|
# default quota.
|
|
quota-backend-bytes: 0
|
|
|
|
# List of comma separated URLs to listen on for peer traffic.
|
|
listen-peer-urls: http://localhost:2480
|
|
|
|
# List of comma separated URLs to listen on for client traffic.
|
|
listen-client-urls: http://localhost:2479
|
|
|
|
# Maximum number of snapshot files to retain (0 is unlimited).
|
|
max-snapshots: 5
|
|
|
|
# Maximum number of wal files to retain (0 is unlimited).
|
|
max-wals: 10
|
|
|
|
# Comma-separated white list of origins for CORS (cross-origin resource sharing).
|
|
cors:
|
|
|
|
# List of this member's peer URLs to advertise to the rest of the cluster.
|
|
# The URLs needed to be a comma-separated list.
|
|
initial-advertise-peer-urls: http://localhost:2480
|
|
|
|
# List of this member's client URLs to advertise to the public.
|
|
# The URLs needed to be a comma-separated list.
|
|
advertise-client-urls: http://localhost:2479
|
|
|
|
# Discovery URL used to bootstrap the cluster.
|
|
discovery:
|
|
|
|
# Valid values include 'exit', 'proxy'
|
|
discovery-fallback: 'proxy'
|
|
|
|
# HTTP proxy to use for traffic to discovery service.
|
|
discovery-proxy:
|
|
|
|
# DNS domain used to bootstrap initial cluster.
|
|
discovery-srv:
|
|
|
|
# Initial cluster configuration for bootstrapping.
|
|
initial-cluster: default=http://localhost:2480
|
|
|
|
# Initial cluster token for the etcd cluster during bootstrap.
|
|
initial-cluster-token: 'etcd-cluster'
|
|
|
|
# Initial cluster state ('new' or 'existing').
|
|
initial-cluster-state: 'new'
|
|
|
|
# Reject reconfiguration requests that would cause quorum loss.
|
|
strict-reconfig-check: false
|
|
|
|
# Accept etcd V2 client requests
|
|
enable-v2: true
|
|
|
|
# Enable runtime profiling data via HTTP server
|
|
enable-pprof: true
|
|
|
|
# Valid values include 'on', 'readonly', 'off'
|
|
proxy: 'off'
|
|
|
|
# Time (in milliseconds) an endpoint will be held in a failed state.
|
|
proxy-failure-wait: 5000
|
|
|
|
# Time (in milliseconds) of the endpoints refresh interval.
|
|
proxy-refresh-interval: 30000
|
|
|
|
# Time (in milliseconds) for a dial to timeout.
|
|
proxy-dial-timeout: 1000
|
|
|
|
# Time (in milliseconds) for a write to timeout.
|
|
proxy-write-timeout: 5000
|
|
|
|
# Time (in milliseconds) for a read to timeout.
|
|
proxy-read-timeout: 0
|
|
|
|
client-transport-security:
|
|
# Path to the client server TLS cert file.
|
|
cert-file:
|
|
|
|
# Path to the client server TLS key file.
|
|
key-file:
|
|
|
|
# Enable client cert authentication.
|
|
client-cert-auth: false
|
|
|
|
# Path to the client server TLS trusted CA cert file.
|
|
trusted-ca-file:
|
|
|
|
# Client TLS using generated certificates
|
|
auto-tls: false
|
|
|
|
peer-transport-security:
|
|
# Path to the peer server TLS cert file.
|
|
cert-file:
|
|
|
|
# Path to the peer server TLS key file.
|
|
key-file:
|
|
|
|
# Enable peer client cert authentication.
|
|
client-cert-auth: false
|
|
|
|
# Path to the peer server TLS trusted CA cert file.
|
|
trusted-ca-file:
|
|
|
|
# Peer TLS using generated certificates.
|
|
auto-tls: false
|
|
|
|
# Enable debug-level logging for etcd.
|
|
debug: false
|
|
|
|
logger: zap
|
|
|
|
# Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd.
|
|
log-outputs: [stderr]
|
|
|
|
# Force to create a new one member cluster.
|
|
force-new-cluster: false
|
|
|
|
auto-compaction-mode: revision
|
|
auto-compaction-retention: '1000'
|
|
quota-backend-bytes: 4294967296
|