-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connectivity: Introduce Multicast connectivity test #2724
connectivity: Introduce Multicast connectivity test #2724
Conversation
|
This comment was marked as resolved.
This comment was marked as resolved.
In addition, maybe we have to think about it : #2724 |
I'll do a general code review, however multicast isn't really my area of expertise. @ldelossa Could you take a look as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes make sense to me, but I'll defer to someone who knows a bit more about Cilium multicast.
connectivity/check/deployment.go
Outdated
@@ -1042,6 +1042,34 @@ func (ct *ConnectivityTest) deploy(ctx context.Context) error { | |||
} | |||
} | |||
|
|||
if ct.Features[features.Multicast].Enabled { | |||
_, err = ct.clients.src.GetDeployment(ctx, ct.params.TestNamespace, netshootSocatClientDeploymentName, metav1.GetOptions{}) | |||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check if this is not ErrNotExist?
connectivity/check/deployment.go
Outdated
@@ -1200,6 +1228,8 @@ func (ct *ConnectivityTest) deploymentList() (srcList []string, dstList []string | |||
srcList = append(srcList, lrpBackendDeploymentName) | |||
} | |||
|
|||
// Q: How about multicast deployments? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this leftover?
@tommyp1ckles P.S. |
Introduces Multicast connectivity test, working with netshoot container.
Using socat for IGMP and UDP communication test.
Receivers are running as Daemonset and a sender is running as a Deployment which has 1 replicaset.
Operation was confirmed on the kind and kubeadm clusters.
This if follow up of #2615 .
In addtion, this PR is related to #2620 .
I want to implement a test scenario using multicast-subcommand after this is merged.
related part of this command output (when 3 nodes)