calicoctl ipam configure

This section describes the calicoctl ipam configure command.

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

Displaying the help text for ‘calicoctl ipam configure’ command

Run calicoctl ipam configure --help to display the following help menu for the command.

  1. Usage:
  2. calicoctl ipam configure --strictaffinity=<true/false> [--config=<CONFIG>]
  3. Options:
  4. -h --help Show this screen.
  5. --strictaffinity=<true/false> Set StrictAffinity to true/false. When StrictAffinity
  6. is true, borrowing IP addresses is not allowed.
  7. -c --config=<CONFIG> Path to the file containing connection configuration in
  8. YAML or JSON format.
  9. [default: /etc/calico/calicoctl.cfg]
  10. Description:
  11. Modify configuration for Calico IP address management.

Examples

  1. calicoctl ipam configure --strictaffinity=true

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