.\" This file was generated by help2man 1.47.16, with human revise .TH ETCD "1" "October 2020" "3.3.25" "User Commands" .SH NAME etcd \- highly-available key value store .SH SYNOPSIS etcd [flags] .SH FLAGS .SS member flags .HP \fB\-\-name\fR 'default' .IP human\-readable name for this member. .HP \fB\-\-data\-dir\fR '${name}.etcd' .IP path to the data directory. .HP \fB\-\-wal\-dir\fR '' .IP path to the dedicated wal directory. .HP \fB\-\-snapshot\-count\fR '100000' .IP number of committed transactions to trigger a snapshot to disk. .HP \fB\-\-heartbeat\-interval\fR '100' .IP time (in milliseconds) of a heartbeat interval. .HP \fB\-\-election\-timeout\fR '1000' .IP time (in milliseconds) for an election to timeout. See tuning documentation for details. .HP \fB\-\-initial\-election\-tick\-advance\fR 'true' .IP whether to fast\-forward initial election ticks on boot for faster election. .HP \fB\-\-listen\-peer\-urls\fR 'http://localhost:2380' .IP list of URLs to listen on for peer traffic. .HP \fB\-\-listen\-client\-urls\fR 'http://localhost:2379' .IP list of URLs to listen on for client traffic. .HP \fB\-\-max\-snapshots\fR '5' .IP maximum number of snapshot files to retain (0 is unlimited). .HP \fB\-\-max\-wals\fR '5' .IP maximum number of wal files to retain (0 is unlimited). .HP \fB\-\-cors\fR '' .IP comma\-separated whitelist of origins for CORS (cross\-origin resource sharing). .HP \fB\-\-quota\-backend\-bytes\fR '0' .IP raise alarms when backend size exceeds the given quota (0 defaults to low space quota). .HP \fB\-\-max\-txn\-ops\fR '128' .IP maximum number of operations permitted in a transaction. .HP \fB\-\-max\-request\-bytes\fR '1572864' .IP maximum client request size in bytes the server will accept. .HP \fB\-\-grpc\-keepalive\-min\-time\fR '5s' .IP minimum duration interval that a client should wait before pinging server. .HP \fB\-\-grpc\-keepalive\-interval\fR '2h' .IP frequency duration of server\-to\-client ping to check if a connection is alive (0 to disable). .HP \fB\-\-grpc\-keepalive\-timeout\fR '20s' .IP additional duration of wait before closing a non\-responsive connection (0 to disable). .SS clustering flags .HP \fB\-\-initial\-advertise\-peer\-urls\fR 'http://localhost:2380' .IP list of this member's peer URLs to advertise to the rest of the cluster. .HP \fB\-\-initial\-cluster\fR 'default=http://localhost:2380' .IP initial cluster configuration for bootstrapping. .HP \fB\-\-initial\-cluster\-state\fR 'new' .IP initial cluster state ('new' or 'existing'). .HP \fB\-\-initial\-cluster\-token\fR 'etcd\-cluster' .IP initial cluster token for the etcd cluster during bootstrap. Specifying this can protect you from unintended cross\-cluster interaction when running multiple clusters. .HP \fB\-\-advertise\-client\-urls\fR 'http://localhost:2379' .IP list of this member's client URLs to advertise to the public. The client URLs advertised should be accessible to machines that talk to etcd cluster. etcd client libraries parse these URLs to connect to the cluster. .HP \fB\-\-discovery\fR '' .IP discovery URL used to bootstrap the cluster. .HP \fB\-\-discovery\-fallback\fR 'proxy' .IP expected behavior ('exit' or 'proxy') when discovery services fails. "proxy" supports v2 API only. .HP \fB\-\-discovery\-proxy\fR '' .IP HTTP proxy to use for traffic to discovery service. .HP \fB\-\-discovery\-srv\fR '' .IP dns srv domain used to bootstrap the cluster. .HP \fB\-\-strict\-reconfig\-check\fR 'true' .IP reject reconfiguration requests that would cause quorum loss. .HP \fB\-\-auto\-compaction\-retention\fR '0' .IP auto compaction retention length. 0 means disable auto compaction. .HP \fB\-\-auto\-compaction\-mode\fR 'periodic' .IP interpret 'auto\-compaction\-retention' one of: periodic|revision. 'periodic' for duration based retention, defaulting to hours if no time unit is provided (e.g. '5m'). 'revision' for revision number based retention. .HP \fB\-\-enable\-v2\fR 'true' .IP Accept etcd V2 client requests. .SS proxy flags "proxy" supports v2 API only. .HP \fB\-\-proxy\fR 'off' .IP proxy mode setting ('off', 'readonly' or 'on'). .HP \fB\-\-proxy\-failure\-wait\fR 5000 .IP time (in milliseconds) an endpoint will be held in a failed state. .HP \fB\-\-proxy\-refresh\-interval\fR 30000 .IP time (in milliseconds) of the endpoints refresh interval. .HP \fB\-\-proxy\-dial\-timeout\fR 1000 .IP time (in milliseconds) for a dial to timeout. .HP \fB\-\-proxy\-write\-timeout\fR 5000 .IP time (in milliseconds) for a write to timeout. .HP \fB\-\-proxy\-read\-timeout\fR 0 .IP time (in milliseconds) for a read to timeout. .SS security flags .HP \fB\-\-ca\-file\fR '' [DEPRECATED] .IP path to the client server TLS CA file. '\-ca\-file ca.crt' could be replaced by '\-trusted\-ca\-file ca.crt \fB\-client\-cert\-auth\fR' and etcd will perform the same. .HP \fB\-\-cert\-file\fR '' .IP path to the client server TLS cert file. .HP \fB\-\-key\-file\fR '' .IP path to the client server TLS key file. .HP \fB\-\-client\-cert\-auth\fR 'false' .IP enable client cert authentication. .HP \fB\-\-client\-crl\-file\fR '' .IP path to the client certificate revocation list file. .HP \fB\-\-trusted\-ca\-file\fR '' .IP path to the client server TLS trusted CA cert file. .HP \fB\-\-auto\-tls\fR 'false' .IP client TLS using generated certificates. .HP \fB\-\-peer\-ca\-file\fR '' [DEPRECATED] .IP path to the peer server TLS CA file. '\-peer\-ca\-file ca.crt' could be replaced by '\-peer\-trusted\-ca\-file ca.crt \fB\-peer\-client\-cert\-auth\fR' and etcd will perform the same. .HP \fB\-\-peer\-cert\-file\fR '' .IP path to the peer server TLS cert file. .HP \fB\-\-peer\-key\-file\fR '' .IP path to the peer server TLS key file. .HP \fB\-\-peer\-client\-cert\-auth\fR 'false' .IP enable peer client cert authentication. .HP \fB\-\-peer\-trusted\-ca\-file\fR '' .IP path to the peer server TLS trusted CA file. .HP \fB\-\-peer\-cert\-allowed\-cn\fR '' .IP Required CN for client certs connecting to the peer endpoint. .HP \fB\-\-peer\-auto\-tls\fR 'false' .IP peer TLS using self\-generated certificates if \fB\-\-peer\-key\-file\fR and \fB\-\-peer\-cert\-file\fR are not provided. .HP \fB\-\-peer\-crl\-file\fR '' .IP path to the peer certificate revocation list file. .HP \fB\-\-cipher\-suites\fR '' .IP comma\-separated list of supported TLS cipher suites between client/server and peers (empty will be auto\-populated by Go). .HP \fB\-\-experimental\-peer\-skip\-client\-san\-verification\fR 'false' .IP Skip verification of SAN field in client certificate for peer connections. .SS logging flags .HP \fB\-\-debug\fR 'false' .IP enable debug\-level logging for etcd. .HP \fB\-\-log\-package\-levels\fR '' .IP specify a particular log level for each etcd package (eg: 'etcdmain=CRITICAL,etcdserver=DEBUG'). .HP \fB\-\-log\-output\fR 'default' .IP specify 'stdout' or 'stderr' to skip journald logging even when running under systemd. .SS unsafe flags Please be CAUTIOUS when using unsafe flags because it will break the guarantees given by the consensus protocol. .HP \fB\-\-force\-new\-cluster\fR 'false' .IP force to create a new one\-member cluster. .SS profiling flags .HP \fB\-\-enable\-pprof\fR 'false' .IP Enable runtime profiling data via HTTP server. Address is at client URL + "/debug/pprof/" .HP \fB\-\-metrics\fR 'basic' .IP Set level of detail for exported metrics, specify 'extensive' to include histogram metrics. .HP \fB\-\-listen\-metrics\-urls\fR '' .IP List of URLs to listen on for metrics. .SS auth flags .HP \fB\-\-auth\-token\fR 'simple' .IP Specify a v3 authentication token type and its options ('simple' or 'jwt'). .HP \fB\-\-auth\-token\-ttl\fR 300 .IP Time (in seconds) of the auth\-token\-ttl. .SS "experimental flags:" .HP \fB\-\-experimental\-initial\-corrupt\-check\fR 'false' .IP enable to check data corruption before serving any client/peer traffic. .HP \fB\-\-experimental\-corrupt\-check\-time\fR '0s' .IP duration of time between cluster corruption check passes. .HP \fB\-\-experimental\-enable\-v2v3\fR '' .IP serve v2 requests through the v3 backend under a given prefix. .SH "SEE ALSO" \fBectdctl\fR(1), .B /usr/share/doc/etcd-server/op-guide/configuration.md.gz