Warning:
You're not viewing the latest copy of this page.
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.
Usage:
calicoctl version [--config=<CONFIG>]
Options:
-h --help Show this screen.
-c --config=<CONFIG> Path to the file containing connection configuration in
YAML or JSON format.
[default: /etc/calico/calicoctl.cfg]
Description:
Display the version of calicoctl.
Example
Use calicoctl version
to obtain the following data.
Field | Value |
---|---|
Client Version |
Version of calicoctl |
Build date |
Time and date of calicoctl build |
Git commit |
Git commit number of calicoctl |
Cluster Version * |
Version number of calico/node and Calico |
Cluster Type * |
Other details about the cluster |
* To obtain these values, you must configure calicoctl
to connect to your datastore.
See also
- calicoctl configuration
for details on configuring
calicoctl
to access the Calico datastore.