Calico Open Source 3.33 (latest) documentation
calicoctl datastore migrate
This section describes the calicoctl datastore migrate commands.
Read the calicoctl Overview for a full list of calicoctl commands.
Display the help text for 'calicoctl datastore migrate' commands
Run calicoctl datastore migrate --help to display the following help menu for the
commands.
Migrate the contents of an etcdv3 datastore to a Kubernetes datastore. The
subcommands lock the datastore, export its contents to YAML, import them into
Kubernetes, and unlock when done.
Usage:
calicoctl datastore migrate [command]
Available Commands:
export Export the contents of the etcdv3 datastore to yaml
import Store and convert yaml of resources into the Kubernetes datastore
lock Lock the datastore to prevent changes during migration
unlock Unlock the datastore to allow changes after migration
Flags:
-h, --help help for migrate
Global Flags:
--allow-version-mismatch Allow client and cluster versions mismatch
--context string The name of the kubeconfig context to use
-l, --log-level string Set the log level (panic, fatal, error, warn, info, debug) (default "panic")
Use "calicoctl datastore migrate [command] --help" for more information about a command.
Migrate specific commands
Details on the calicoctl datastore migrate commands are described in the documents linked below
organized by sub command.