跳转至

etcdctl compaction

help

$  etcdctl compaction --help
NAME:
        compaction - Compacts the event history in etcd

USAGE:
        etcdctl compaction [options] <revision> [flags]

OPTIONS:
  -h, --help[=false]            help for compaction
      --physical[=false]        'true' to wait for compaction to physically remove all old revisions