calicoctl datastore migrate lock

This sections describes the calicoctl datastore migrate lock command.

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

Display the help text for ‘calicoctl datastore migrate unlock’ command

Run calicoctl datastore migrate lock --help to display the following help menu for the command.

  1. Usage:
  2. calicoctl datastore migrate lock [--config=<CONFIG>]
  3. Options:
  4. -h --help Show this screen.
  5. -c --config=<CONFIG> Path to the file containing connection
  6. configuration in YAML or JSON format.
  7. [default: /etc/calico/calicoctl.cfg]
  8. Description:
  9. Lock the datastore to prepare it for migration. This prevents any new
  10. Calico resources from affecting the cluster but does not prevent updating
  11. or creating new Calico resources.

Examples

Lock the datastore to prepare it for migration so that any changes to the data will not affect the cluster during migration.

  1. calicoctl datastore migrate lock

General options

  1. -c --config=<CONFIG> Path to the file containing connection
  2. configuration in YAML or JSON format.
  3. [default: /etc/calico/calicoctl.cfg]

See also