linkerd / linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
https://linkerd.io
Apache License 2.0
10.61k stars 1.27k forks source link

IPv6/dual-stack integration tests #12575

Closed alpeb closed 4 months ago

alpeb commented 5 months ago

This adds a new test TestDualStack to the deep suite that ensures requests to a dual stack service are always routed the the IPv6 endpoint.

It also amends other tests in the suite for them to work in IPv6-only clusters:

Note the TestDualStack test is disabled by default because Github runners don't support IPv6. To run it locally, first deploy a dual-stack cluster via:

kind create cluster --config test/integration/deep/kind-dualstack.yml

(for testing IPv6-only clusters, use the kind-ipv6.yml config)

Then load the images and trigger the test with:

bin/tests --name deep-dual-stack --skip-cluster-create $PWD/target/cli/linux-amd64/linkerd