Currently, there's no way to run etcd-defrag without having it potentially perform defragmentation. Before writing any changes, one might want to observe what the effects will be, for instance when testing defrag rules. These changes add a flag for enabling dry run mode, wherein etcd-defrag will check endpoints, evaluate the defrag rule, but skip compaction and defragmentation.
Currently, there's no way to run
etcd-defrag
without having it potentially perform defragmentation. Before writing any changes, one might want to observe what the effects will be, for instance when testing defrag rules. These changes add a flag for enabling dry run mode, whereinetcd-defrag
will check endpoints, evaluate the defrag rule, but skip compaction and defragmentation.