diff --git a/connectivity/check/deployment.go b/connectivity/check/deployment.go index ee550e0569..de1e11aefe 100644 --- a/connectivity/check/deployment.go +++ b/connectivity/check/deployment.go @@ -245,11 +245,12 @@ func (ct *ConnectivityTest) deploy(ctx context.Context) error { if err != nil { ct.Logf("✨ [%s] Deploying client deployment...", ct.clients.src.ClusterName()) clientDeployment := newDeployment(deploymentParameters{ - Name: ClientDeploymentName, - Kind: kindClientName, - Port: 8080, - Image: defaults.ConnectivityCheckAlpineCurlImage, - Command: []string{"/bin/ash", "-c", "sleep 10000000"}, + Name: ClientDeploymentName, + Kind: kindClientName, + Port: 8080, + Image: defaults.ConnectivityCheckAlpineCurlImage, + Command: []string{"/bin/ash", "-c", "sleep 10000000"}, + Annotations: map[string]string{"io.cilium.proxy-visibility": ""}, }) _, err = ct.clients.src.CreateDeployment(ctx, ct.params.TestNamespace, clientDeployment, metav1.CreateOptions{}) if err != nil { @@ -262,12 +263,13 @@ func (ct *ConnectivityTest) deploy(ctx context.Context) error { if err != nil { ct.Logf("✨ [%s] Deploying client2 deployment...", ct.clients.src.ClusterName()) clientDeployment := newDeployment(deploymentParameters{ - Name: Client2DeploymentName, - Kind: kindClientName, - Port: 8080, - Image: defaults.ConnectivityCheckAlpineCurlImage, - Command: []string{"/bin/ash", "-c", "sleep 10000000"}, - Labels: map[string]string{"other": "client"}, + Name: Client2DeploymentName, + Kind: kindClientName, + Port: 8080, + Image: defaults.ConnectivityCheckAlpineCurlImage, + Command: []string{"/bin/ash", "-c", "sleep 10000000"}, + Labels: map[string]string{"other": "client"}, + Annotations: map[string]string{"io.cilium.proxy-visibility": ""}, }) _, err = ct.clients.src.CreateDeployment(ctx, ct.params.TestNamespace, clientDeployment, metav1.CreateOptions{}) if err != nil {