/linkerd2-proxy-init

Init container that sets up the iptables rules to forward traffic into the Linkerd2 sidecar proxy

Primary LanguageGoApache License 2.0Apache-2.0

This repo contains the init container that reroutes all traffic to the pod through Linkerd2's sidecar proxy. This rerouting is done via iptables and requires the NET_ADMIN capability.

Integration tests

The instructions below assume that you are using minikube.

Start by building and tagging the proxy-init image required for the test:

eval $(minikube docker-env)
docker build -t gcr.io/linkerd-io/proxy-init:latest .

Then run the tests with:

cd integration_test
./run_tests.sh