Skip to content

Instantly share code, notes, and snippets.

@sirrapa
Last active October 14, 2019 14:27
Show Gist options
  • Save sirrapa/3c2a5d43a8bd491eb9bc19e446a31656 to your computer and use it in GitHub Desktop.
Save sirrapa/3c2a5d43a8bd491eb9bc19e446a31656 to your computer and use it in GitHub Desktop.
Calico: Handy commands
# Check if the calico-node container is running
docker ps | grep calico
#The **calicoctl** command allows to check the status of the network workloads.
#Check the status of Calico nodes
calicoctl node status
# Show the configured network subnet for containers
calicoctl get ippool -o wide
# Show the workloads (ip addresses of containers and their located)
calicoctl get workloadEndpoint -o wide
calicoctl get hostEndpoint -o wide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment