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.

36 lines
973 B

9 years ago
9 years ago
9 years ago
9 years ago
  1. [downloader]
  2. 172.16.0.1
  3. [kube-master]
  4. # NB : the br_addr must be in the {{ calico_pool }} subnet
  5. # it will assign a /24 subnet per node
  6. 172.16.0.1 br_addr=10.233.64.1
  7. [etcd]
  8. 172.16.0.1
  9. [kube-node:children]
  10. usa
  11. france
  12. [usa]
  13. 172.16.0.1 br_addr=10.233.64.1
  14. # Configure the as assigned to the each node if bgp peering with border routers is enabled
  15. 172.16.0.2 br_addr=10.233.65.1 # local_as=65xxx
  16. 172.16.0.3 br_addr=10.233.66.1 # local_as=65xxx
  17. [france]
  18. 192.168.0.1 br_addr=10.233.67.1 # local_as=65xxx
  19. 192.168.0.2 br_addr=10.233.68.1 # local_as=65xxx
  20. [k8s-cluster:children]
  21. kube-node
  22. kube-master
  23. # If you want to configure bgp peering with border router you'll need to set the following vars
  24. # List of routers and their as number
  25. #[usa:vars]
  26. #bgp_peers=[{"router_id": "172.16.0.252", "as": "65xxx"}, {"router_id": "172.16.0.253", "as": "65xxx"}]
  27. #
  28. #[france:vars]
  29. #bgp_peers=[{"router_id": "192.168.0.252", "as": "65xxx"}, {"router_id": "192.168.0.253", "as": "65xxx"}]