kube-etcd-migrate

command module
v0.0.0-...-605df28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

README

kube-etcd-migrate

Data migration tool from etcd2 to etcd3

How to run

Assumed you have "etcd" repo in $GOPATH.

Build it in root dir:

go build .

Migrate data dir:

./kube-etcd-migrate --data-dir=$datadir --timeout=3600

This will migrate all v2 keys into v3 keys. For ttl keys in v2, they will be attached to a new lease with given timeout as initial TTL.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL