Brand
  • v3.0
    • v3.5 (latest)
    • v3.4
    • v3.3
    • v3.2
    • v3.1
    • v3.0
    • v2.6
    • nightly
  • Home
  • Resources
    •   Getting Started
    •   Documentation
    •   Videos & Webinars
    •   Training
    •   Releases
    •   Blog
  • Community
    •   Slack
    •   Upcoming Events
    •   Newsletter
    •   GitHub
    •   Jobs
    •   Blog
  • Support
  • Tigera
  • Introduction
  • Getting Started
  • Usage
  • Reference
  • Releases
  • Introduction
  • Getting Started
  • Usage
  • Reference
  • Releases

Getting Started with Calico
Kubernetes
Quickstart
Installation
Introduction
Hosted (via kubectl)
Introduction
Standard Hosted Install
Kubeadm Hosted Install
Kubernetes Datastore Hosted Install
Canal/flannel Hosted Install
Integration Guide
AWS
GCE
Azure
Vagrant/VirtualBox: CoreOS
Tutorials
Using calicoctl
Simple Policy Demo
Stars Policy Demo
Advanced network policy
Troubleshooting / FAQ
Upgrade
Overview
Install and configure calico-upgrade
Test the migration
Migrate your data
Upgrade Calico
Converting your calicoctl manifests
Deleting old data
Downgrading Calico
OpenShift
Installation
Host Protection
Overview
Installation
Installing Felix as a static binary
Edit this page
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.

Provide Feedback Get Help via Slack Training