Warning:
You're not viewing the latest Calico documentation.
Command Reference
The command line tool, calicoctl
, makes it easy to manage Calico network
and security policy.
This section is a command line reference for calicoctl, organised based on the command hierarchy.
Top level help
Run calicoctl --help
to display the following help menu for the top level
calicoctl commands.
Top level command line options
Details on the calicoctl
commands are described in the documents linked below
organized by top level command.
- calicoctl create
- calicoctl replace
- calicoctl apply
- calicoctl delete
- calicoctl get
- calicoctl ipam
- calicoctl node
- calicoctl convert
- calicoctl version
Modifying low-level component configurations
In order to update low-level Felix or BGP settings (FelixConfiguration
and BGPConfiguration
resource types):
- Get the appropriate resource and store the yaml output in a file using
calicoctl get <resource type> <resource name> -o yaml --export > config.yaml
. - Modify the saved resource file.
- Update the resource using
apply
orreplace
command:calicoctl replace -f config.yaml
.
See Configuring Felix for more details.