Skip to content

Commit

Permalink
Adding Canal as CNI (#70)
Browse files Browse the repository at this point in the history
* added canal template

 based on https://docs.projectcalico.org/v3.8/manifests/canal.yaml

* Rename roles/cni/canal.yml.j2 to roles/cni/templates/canal.yml.j2

* added information about canal

* Update reset-site.yaml
  • Loading branch information
tuxpeople authored and Kyle Bai committed Oct 1, 2019
1 parent 0a27d5a commit 63250b1
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 2 deletions.
2 changes: 1 addition & 1 deletion group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pod_network_cidr: "10.244.0.0/16"

calico_etcd_service: "10.96.232.136"

# Network implementation('flannel', 'calico')
# Network implementation('flannel', 'calico', 'canal')
network: calico

# Change this to an appropriate interface, preferably a private network.
Expand Down
2 changes: 1 addition & 1 deletion reset-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: Delete flannel.1 interface
command: ip link delete flannel.1
when: network == "flannel"
when: network == "flannel" or network == "canal"
ignore_errors: True

- name: Delete cni0 interface
Expand Down
Loading

0 comments on commit 63250b1

Please sign in to comment.