Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 828 Bytes

4-test-network-connections.md

File metadata and controls

31 lines (25 loc) · 828 Bytes

Network Test

We can now perform a network test to check that the mesh is established and we are able to communicate from a pod in one cluster to a pos in the other cluster.

Set Context for $clus1

kubectl config use-context $clus1

Create a test pod to ping

kubectl run network-test --image=alpine --restart=Never -- sleep 999999

Get IP addresses of pod to ping

kubectl describe pod network-test

Switch to $clus2 context

kubectl config use-context $clus2

Create a pod and ping the test pod. Replace $podip with the ip of the pod from the output of the kubectl describe pod network-test

kubectl run -it network-test-pinger --image=alpine --restart=Never -- ping `$podip`

Complete this for all regions.

Now you are ready to move to the next step.

next