Skip to main content
Calico Open Source 3.33 (latest) documentation

calicoctl datastore

This section describes the calicoctl datastore commands.

Read the calicoctl Overview for a full list of calicoctl commands.

Display the help text for 'calicoctl datastore' commands​

Run calicoctl datastore --help to display the following help menu for the commands.

Manage the Calico datastore, including migrating data between datastore types
and rewriting legacy policy names.

Usage:
calicoctl datastore [command]

Available Commands:
migrate Migrate the contents of an etcdv3 datastore to a Kubernetes datastore
migrate-policy-names Rewrite pre-v3.32 policy names in an etcdv3 datastore to drop the legacy "default." tier prefix

Flags:
-h, --help help for datastore

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 [command] --help" for more information about a command.

Datastore specific commands​

Details on the calicoctl datastore commands are described in the documents linked below organized by sub command.