1etcdctl3(1) etcdctl3(1)
2
3
4
6 etcdctl-defrag - Defragments the storage of the etcd members with given
7 endpoints
8
9
10
12 ETCDCTL=3 etcdctl defrag [flags]
13
14
15
17 Defragments the storage of the etcd members with given endpoints
18
19
20
22 --cluster[=false]
23 use all endpoints from the cluster member list
24
25
26 --data-dir=""
27 Optional. If present, defragments a data directory not in use by
28 etcd.
29
30
31 -h, --help[=false]
32 help for defrag
33
34
35
37 --cacert=""
38 verify certificates of TLS-enabled secure servers using this CA
39 bundle
40
41
42 --cert=""
43 identify secure client using this TLS certificate file
44
45
46 --command-timeout=5s
47 timeout for short running command (excluding dial timeout)
48
49
50 --debug[=false]
51 enable client-side debug logging
52
53
54 --dial-timeout=2s
55 dial timeout for client connections
56
57
58 -d, --discovery-srv=""
59 domain name to query for SRV records describing cluster endpoints
60
61
62 --discovery-srv-name=""
63 service name to query when using DNS discovery
64
65
66 --endpoints=[127.0.0.1:2379]
67 gRPC endpoints
68
69
70 --hex[=false]
71 print byte strings as hex encoded strings
72
73
74 --insecure-discovery[=true]
75 accept insecure SRV records describing cluster endpoints
76
77
78 --insecure-skip-tls-verify[=false]
79 skip server certificate verification (CAUTION: this option should
80 be enabled only for testing purposes)
81
82
83 --insecure-transport[=true]
84 disable transport security for client connections
85
86
87 --keepalive-time=2s
88 keepalive time for client connections
89
90
91 --keepalive-timeout=6s
92 keepalive timeout for client connections
93
94
95 --key=""
96 identify secure client using this TLS key file
97
98
99 --password=""
100 password for authentication (if this option is used, --user option
101 shouldn't include password)
102
103
104 --user=""
105 username[:password] for authentication (prompt if password is not
106 supplied)
107
108
109 -w, --write-out="simple"
110 set the output format (fields, json, protobuf, simple, table)
111
112
113
115 etcdctl(1)
116
117
118
120 4-Sep-2020 Auto generated by spf13/cobra
121
122
123
124Auto generated by spf13/cobra Sep 2020 etcdctl3(1)