Skip to content

Commit

Permalink
tests: Remove iptables workaround for kubernetes tests
Browse files Browse the repository at this point in the history
As this issue was already solved kubernetes/kubernetes#40182,
we do not need to perform the sudo iptables -P FORWARD ACCEPT.

Fixes kata-containers#488

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
  • Loading branch information
GabyCT committed Oct 9, 2018
1 parent 34690b8 commit b83aa65
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions integration/kubernetes/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ esac
# Check no processes are left behind
check_processes

# The next workaround is to be able to communicate between pods
# Issue: https://github.com/kubernetes/kubernetes/issues/40182
# Fix is ready for K8s 1.9, but still need to investigate why it does not
# work by default.
# FIXME: Issue: https://github.com/clearcontainers/tests/issues/934
sudo iptables -P FORWARD ACCEPT

# Remove existing CNI configurations:
sudo rm -rf /var/lib/cni/networks/*
sudo rm -rf /etc/cni/net.d/*
Expand Down

0 comments on commit b83aa65

Please sign in to comment.