linkerd2/test/integration
Alejandro Pedraza e8f0724a71
Multicluster integration test (#4998)
This implements the run_multicluster_test() function in bin/_test-helpers.sh.

The idea is to create two clusters (source and target) using k3d, with linkerd and multicluster support in both, plus emojivoto (without vote-bot) in target, and vote-bot in source.
We then link the clusters and make sure traffic is flowing.

Detailed sequence:

Create certficates.
Install linkerd along with multicluster support in the target cluster.
Run the target1 test: install emojivoto in the target cluster (without vote-bot).
Run linkerd mc link on the target cluster.
Install linkerd along with multicluster support in the source cluster.
Apply the link resource in the source cluster.
Run the source test: Check linkerd mc gateways returns the target cluster link, and only install emojivoto's vote-bot in the source cluster. Note vote-bot's yaml defines the web-svc service as web-svc-target.emojivoto:80
Run the target2 test: Make sure web-svc in the target cluster is receiving requests.
2020-09-26 05:26:23 -05:00
..
configs tests: Add Calico CNI deep integration tests (#4952) 2020-09-23 19:58:28 +05:30
edges Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
egress Push docker images to ghcr.io instead of gcr.io (#4953) 2020-09-10 15:16:24 -05:00
endpoints Add a Windows Linkerd cli Test (#4653) 2020-07-02 23:13:57 +05:30
externalissuer Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
get Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
inject tests: Add Calico CNI deep integration tests (#4952) 2020-09-23 19:58:28 +05:30
multicluster Multicluster integration test (#4998) 2020-09-26 05:26:23 -05:00
routes Make destination and identity services headless (#4923) 2020-09-02 14:53:38 -05:00
serviceaccounts Add a Windows Linkerd cli Test (#4653) 2020-07-02 23:13:57 +05:30
serviceprofiles Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
smimetrics Integration test for smi-metrics (#4844) 2020-09-23 22:49:20 +05:30
stat Add a Windows Linkerd cli Test (#4653) 2020-07-02 23:13:57 +05:30
tap Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
testdata tests: Add Calico CNI deep integration tests (#4952) 2020-09-23 19:58:28 +05:30
tracing Helm chart - linkerd2-collector : enable jaeger receiver (#4783) 2020-09-21 12:17:04 -07:00
trafficsplit Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
uninstall Add a Windows Linkerd cli Test (#4653) 2020-07-02 23:13:57 +05:30
install_test.go Add support for k3d in integration tests (#4994) 2020-09-25 16:33:17 -05:00