Skip to content

Commit

Permalink
Merge pull request #231 from vardhaman22/fix_br_netfilter
Browse files Browse the repository at this point in the history
enable br_netfilter module on nodes
  • Loading branch information
vardhaman22 authored Mar 3, 2025
2 parents 020ddba + 70b53b4 commit 82cdea8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ if [ "$1" = "kubelet" ] || [ "$1" = "kube-proxy" ]; then
update-alternatives --set iptables /usr/sbin/iptables-wrapper
fi

# br_netfilter is required for canal and flannel network plugins.
if [ "$1" = "kube-proxy" ] && [ "${RKE_KUBE_PROXY_BR_NETFILTER}" = "true" ]; then
modprobe br_netfilter || true
fi

# generate Azure cloud provider config if configured
if echo ${@} | grep -q "cloud-provider=azure"; then
if [ "$1" = "kubelet" ] || [ "$1" = "kube-apiserver" ] || [ "$1" = "kube-controller-manager" ]; then
Expand Down

0 comments on commit 82cdea8

Please sign in to comment.