Skip to content

Commit

Permalink
Merge pull request #22 from dougbtv/fixbridge
Browse files Browse the repository at this point in the history
[fixbridge][bugfix] wrong spot for changing /proc/sys/net/bridge/brid…
  • Loading branch information
dougbtv authored Jun 14, 2017
2 parents c3c129b + c94b6ee commit c508360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions roles/kube-init/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
arg_pod_network: "--pod-network-cidr {{ pod_network_cidr }}/16"
when: pod_network_type != "weave"

- name: Set bridge-nf-call-iptables to 1
shell: >
echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables
# Was trying to use flannel and running with:
# kubeadm init > /etc/kubeadm.init.txt
# abandonded for now...
Expand Down
4 changes: 0 additions & 4 deletions roles/kube-install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
- kubectl
- kubernetes-cni

- name: Set bridge-nf-call-iptables to 1
shell: >
echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables
- name: Include kube 1.6.0 work-around
include: kube-16-workaround.yml
when: kube_16_workaround
Expand Down

0 comments on commit c508360

Please sign in to comment.