On the road again

Basic commands for Calico troubleshooting

Calico creates and manages a Layer 3 network that provides inter-Pod communication in the Kubernetes cluster. It provides routable IP addresses to Pods that enable easier interoperability. Calico allows enforcement of network security policies that provide fine-grained control over the communications between Pods. The architecture is shown on the diagram below:

Calico_architecture.png

 

Download Calico CLI tool:
$chmod +x calicoctl
$export DATASTORE_TYPE=kubernetes
$export KUBECONFIG=~/.kube/config
$sudo -E ./calicoctl node status
$sudo -E ./calicoctl get workloadendpoints
$sudo -E ./calicoctl get ippools
 
Restart process on the node:
systemctl restart calico-node
Add comment