Skip to content

Commit

Permalink
[kube-router] Add option to disable bgp-graceful-restart (10488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Kusler committed Sep 28, 2023
1 parent ddd7aa8 commit 5462b41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# Add LoadBalancer IP of service status as set by the LB provider to the RIB so that it gets advertised to the BGP peers.
# kube_router_advertise_loadbalancer_ip: false

# Enables BGP graceful restarts
# kube_router_bgp_graceful_restart: true

# Adjust manifest of kube-router daemonset template with DSR needed changes
# kube_router_enable_dsr: false

Expand Down
3 changes: 3 additions & 0 deletions roles/network_plugin/kube-router/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ kube_router_advertise_external_ip: false
# Add LoadBalancer IP of service status as set by the LB provider to the RIB so that it gets advertised to the BGP peers.
kube_router_advertise_loadbalancer_ip: false

# Enables BGP graceful restarts
kube_router_bgp_graceful_restart: true

# Adjust manifest of kube-router daemonset template with DSR needed changes
kube_router_enable_dsr: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- --run-firewall={{ kube_router_run_firewall | bool }}
- --run-service-proxy={{ kube_router_run_service_proxy | bool }}
- --kubeconfig=/var/lib/kube-router/kubeconfig
- --bgp-graceful-restart=true
- --bgp-graceful-restart={{ kube_router_bgp_graceful_restart }}
{% if kube_router_advertise_cluster_ip %}
- --advertise-cluster-ip
{% endif %}
Expand Down

0 comments on commit 5462b41

Please sign in to comment.