Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

tests: Remove iptables workaround for k8s. #489

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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