Skip to content

Commit

Permalink
BYO - Added iptables FORWARD ACCEPT rule due to moby/moby#28257
Browse files Browse the repository at this point in the history
  • Loading branch information
ToroNZ committed Dec 28, 2017
1 parent fbe0890 commit d1db8cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/install_kubernetes_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ install_kubernetes_worker(){
if [[ "$CLOUD_PROVIDER" == "vagrant" ]]; then
sudo apt-get -y install socat
fi

if [[ "$CLOUD_PROVIDER" == "byo" ]]; then
# This is because of Docker https://github.com/docker/docker/pull/28257 new iptables rule to DROP
iptables -P FORWARD ACCEPT
fi
install_cni
if [[ "$CLOUD_PROVIDER" == "azure" ]]; then
install_azure_cni
Expand Down

0 comments on commit d1db8cf

Please sign in to comment.