You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
995 B

  1. Calico
  2. ===========
  3. Check if the calico-node container is running
  4. ```
  5. docker ps | grep calico
  6. ```
  7. The **calicoctl** command allows to check the status of the network workloads.
  8. * Check the status of Calico nodes
  9. ```
  10. calicoctl status
  11. ```
  12. * Show the configured network subnet for containers
  13. ```
  14. calicoctl pool show
  15. ```
  16. * Show the workloads (ip addresses of containers and their located)
  17. ```
  18. calicoctl endpoint show --detail
  19. ```
  20. ##### Optionnal : BGP Peering with border routers
  21. In some cases you may want to route the pods subnet and so NAT is not needed on the nodes.
  22. For instance if you have a cluster spread on different locations and you want your pods to talk each other no matter where they are located.
  23. The following variables need to be set:
  24. `peer_with_router` to enable the peering with the datacenter's border router (default value: false).
  25. you'll need to edit the inventory and add a and a hostvar `local_as` by node.
  26. ```
  27. node1 ansible_ssh_host=95.54.0.12 local_as=xxxxxx
  28. ```