Skip to content

Commit

Permalink
Merge pull request #1902 from LinuxSuRen/docs/example-config
Browse files Browse the repository at this point in the history
docs: correct the etcd related number type
  • Loading branch information
ks-ci-bot authored Jul 7, 2023
2 parents f8d9fa0 + d1349f1 commit 1cbd862
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/config-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,24 @@ spec:
# keyFile: /pki/etcd/etcd.key
dataDir: "/var/lib/etcd"
# Time (in milliseconds) of a heartbeat interval.
heartbeatInterval: "250"
heartbeatInterval: 250
# Time (in milliseconds) for an election to timeout.
electionTimeout: "5000"
electionTimeout: 5000
# Number of committed transactions to trigger a snapshot to disk.
snapshotCount: "10000"
snapshotCount: 10000
# Auto compaction retention for mvcc key value store in hour. 0 means disable auto compaction.
autoCompactionRetention: "8"
autoCompactionRetention: 8
# Set level of detail for etcd exported metrics, specify 'extensive' to include histogram metrics.
metrics: basic
## Etcd has a default of 2G for its space quota. If you put a value in etcd_memory_limit which is less than
## etcd_quota_backend_bytes, you may encounter out of memory terminations of the etcd cluster. Please check
## etcd documentation for more information.
# 8G is a suggested maximum size for normal environments and etcd warns at startup if the configured value exceeds it.
quotaBackendBytes: "2147483648"
quotaBackendBytes: 2147483648
# Maximum client request size in bytes the server will accept.
# etcd is designed to handle small key value pairs typical for metadata.
# Larger requests will work, but may increase the latency of other requests
maxRequestBytes: "1572864"
maxRequestBytes: 1572864
# Maximum number of snapshot files to retain (0 is unlimited)
maxSnapshots: 5
# Maximum number of wal files to retain (0 is unlimited)
Expand Down

0 comments on commit 1cbd862

Please sign in to comment.