Skip to content

Commit

Permalink
disable bgp for master
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaine Kahlouch committed Dec 3, 2015
1 parent a03f373 commit 563be70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ After=docker.service etcd2.service
EnvironmentFile=/etc/network-environment
User=root
PermissionsStartOnly=true
{% if peer_with_router|default(false) %}
{% if inventory_hostname in groups['kube-node'] and peer_with_router|default(false)%}
ExecStart={{ bin_dir }}/calicoctl node --kubernetes --ip=${DEFAULT_IPV4} --as={{ local_as }} --detach=false
{% else %}
ExecStart={{ bin_dir }}/calicoctl node --kubernetes --ip=${DEFAULT_IPV4} --detach=false
Expand Down

0 comments on commit 563be70

Please sign in to comment.