calicoctl version

This section describes the calicoctl version command.

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

Displaying the help text for ‘calicoctl version’ commands

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

  1. Usage:
  2. calicoctl version [--config=<CONFIG>] [--poll=<POLLFREQ>]
  3. Options:
  4. -h --help Show this screen.
  5. -c --config=<CONFIG> Path to the file containing connection configuration in
  6. YAML or JSON format.
  7. [default: /etc/calico/calicoctl.cfg]
  8. --poll=<POLL> Poll for changes to the cluster information at a frequency specified using POLL duration
  9. (e.g. 1s, 10m, 2h etc.). A value of 0 (the default) disables polling.
  10. Description:
  11. Display the version of calicoctl.

Example

Use calicoctl version to obtain the following data.

FieldValue
Client VersionVersion of calicoctl
Build dateTime and date of calicoctl build
Git commitGit commit number of calicoctl
Cluster VersionVersion number of calico/node and Calico
Cluster TypeOther details about the cluster

* To obtain these values, you must configure calicoctl to connect to your datastore.

See also