Skip to content

Commit

Permalink
tests: Remove iptables workaround for k8s.
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 Jul 10, 2018
1 parent c90015b commit 68f94e4
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 @@ -10,13 +10,6 @@ set -e
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
source "${SCRIPT_PATH}/../../.ci/lib.sh"

# 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:
cni_interface="cni0"
sudo rm -rf /var/lib/cni/networks/*
Expand Down

0 comments on commit 68f94e4

Please sign in to comment.