1etcdctl3(1) etcdctl3(1)
2
3
4
6 etcdctl-elect - Observes and participates in leader election
7
8
9
11 ETCDCTL=3 etcdctl elect <election-name> [proposal] [flags]
12
13
14
16 Observes and participates in leader election
17
18
19
21 -h, --help[=false]
22 help for elect
23
24
25 -l, --listen[=false]
26 observation mode
27
28
29
31 --cacert=""
32 verify certificates of TLS-enabled secure servers using this CA
33 bundle
34
35
36 --cert=""
37 identify secure client using this TLS certificate file
38
39
40 --command-timeout=5s
41 timeout for short running command (excluding dial timeout)
42
43
44 --debug[=false]
45 enable client-side debug logging
46
47
48 --dial-timeout=2s
49 dial timeout for client connections
50
51
52 -d, --discovery-srv=""
53 domain name to query for SRV records describing cluster endpoints
54
55
56 --discovery-srv-name=""
57 service name to query when using DNS discovery
58
59
60 --endpoints=[127.0.0.1:2379]
61 gRPC endpoints
62
63
64 --hex[=false]
65 print byte strings as hex encoded strings
66
67
68 --insecure-discovery[=true]
69 accept insecure SRV records describing cluster endpoints
70
71
72 --insecure-skip-tls-verify[=false]
73 skip server certificate verification
74
75
76 --insecure-transport[=true]
77 disable transport security for client connections
78
79
80 --keepalive-time=2s
81 keepalive time for client connections
82
83
84 --keepalive-timeout=6s
85 keepalive timeout for client connections
86
87
88 --key=""
89 identify secure client using this TLS key file
90
91
92 --password=""
93 password for authentication (if this option is used, --user option
94 shouldn't include password)
95
96
97 --user=""
98 username[:password] for authentication (prompt if password is not
99 supplied)
100
101
102 -w, --write-out="simple"
103 set the output format (fields, json, protobuf, simple, table)
104
105
106
108 etcdctl(1)
109
110
111
113 5-Apr-2020 Auto generated by spf13/cobra
114
115
116
117Auto generated by spf13/cobra Apr 2020 etcdctl3(1)