ETCD相關配置引數

2022-07-29 05:30:26 字數 3824 閱讀 5440

--name

--data-dir

--wal-dir

--snapshot-count

--heartbeat-interval

--election-timeout

--listen-peer-urls

--listen-client-urls

--max-snapshots

--max-wals

--cors

--quota-backent-bytes

--backend-batch-limit

--backend-bbolt-freelist-type

--backend-batch-interval

--max-txn-ops

--max-request-bytes

--grpc-keepalive-min-time

--grpc-keepalive-interval

--grpc-keepalive-timeout

--initial-advertise-peer-urls,--initial-cluster,--initial-cluster-state,和--initial-cluster-token引數用於啟動(靜態啟動

,發現服務啟動

或者執行時重新配置

)乙個新成員,當重啟已經存在的成員時將忽略。字首為--discovery的引數在使用發現服務

時需要被設定。

--initial-advertise-peer-urls

--initial-cluster

--initial-cluster-state

--initial-cluster-token

--advertise-client-urls

--discovery

--discovery-srv

--discovery-srv-name

--discovery-fallback

--discovery-proxy

--strict-reconfig-check

--auto-compaction-retention

--auto-compaction-mode

--enable-v2

--proxy字首標誌將etcd配置為以**模式執行。 「**」僅支援v2 api。

--proxy

--proxy-failure-wait

--proxy-refresh-interval

--proxy-dial-timeout

--proxy-write-timeout

--proxy-read-timeout

安全引數有助於構建乙個安全的etcd集群

--ca-filedeprecated

--cert-file

--key-file

--client-cert-auth

--client-crl-file

--client-cert-allowed-hostname

--trusted-ca-file

--auto-tls

--peer-ca-file已淘汰

--peer-cert-file

--peer-key-file

--peer-client-cert-auth

--peer-crl-file

--peer-trusted-ca-file

--peer-auto-tls

--peer-cert-allowed-cn

--peer-cert-allowed-hostname

--cipher-suites

--logger

v3.4可以使用,警告:--logger=capnslog在v3.5被拋棄使用

--log-outputs

--log-levelv3.4可以使用

--debug警告:在v3.5被拋棄使用

--log-package-levels警告:在v3.5被拋棄使用

使用不安全標誌時請小心,因為它將破壞共識協議提供的保證。 例如,如果群集中的其他成員仍然存在,可能會panic。 使用這些標誌時,請遵循說明。--force-new-cluster

--version

--config-file

--enable-pprof

--metrics

--listen-metrics-urls

--auth-token

--bcrypt-cost

--experimental-corrupt-check-time

--experimental-compaction-batch-limit

--experimental-peer-skip-client-san-verification

etcd配置引數

目錄集群配置 安全 日誌配置 非安全配置 其他配置 效能配置 認證配置 etcd可以通過配置檔案 命令列引數和環境變數進行配置 配置檔案使用yaml語法編寫。使用配置檔案可以通過 config file或者etcd config file環境變數指定 配置優先順序 命令列引數優先順序高於環境變數中的...

etcd集群配置

官方參考 etcd github etcd 集群配置官方文件 blob master documentation op guide clustering.md 其他參考 開機集群啟動 yum安裝的etcd預設配置檔案 etc etcd etcd.conf etcd auth token 開機啟動配置...

hadoop 配置相關引數

mapred.reduce.slowstart.completed.maps map完成多少百分比時,開始shuffle 當map執行慢,reduce執行很快時,如果不設定mapred.reduce.slowstart.completed.maps會使job的shuffle時間變的很長,map執行完...