Warning:
You're not viewing the latest Calico documentation.
Using calicoctl in Kubernetes
calicoctl
allows you to create, read, update, and delete Calico objects
from the command line. Installing calicoctl
as a binary
will provide you with maximum functionality, including access to the
node
commands.
However, you can also install calicoctl
as a pod and run calicoctl
commands using kubectl
:
$ kubectl exec -ti -n kube-system calicoctl -- /calicoctl get profiles -o wide
NAME TAGS
kns.default kns.default
kns.kube-system kns.kube-system
See the calicoctl reference guide for more information.