Skip to content
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

Adding support of UDN usage #156

Merged
merged 3 commits into from
Nov 23, 2024
Merged

Adding support of UDN usage #156

merged 3 commits into from
Nov 23, 2024

Conversation

capolrik
Copy link
Contributor

@capolrik capolrik commented Oct 31, 2024

Using --udn option create a UserDefinedNetwork object on the netperf ns

Type of change

  • New feature

Description

This new option deploys a UDN network in the netperf Namespace. All the pods are using the UDN interface to contact each other.
It does not support Service and IPv6 (even if the implementation of v6 looks straightforward).

It uses the CRD userdefinednetworks and not a NAD to create the UDN interfaces on the pods.

Related Tickets & Documents

  • Related Issue # PERFSCALE-3552
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.

Testing

  • OCP cluster baremetal 4.17.2 - TechPreview enabled.
  • Run the default netperf.yml config, without the Service Test.

pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
@jtaleric
Copy link
Member

jtaleric commented Nov 4, 2024

https://redhat-internal.slack.com/archives/C077NGF5HE1/p1728676760441059 - I wonder if the annotation will eventually get better?

pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
@capolrik
Copy link
Contributor Author

capolrik commented Nov 7, 2024

@jtaleric @rsevilla87 should we do more tests or can we merge this change?

Using the UDN ip from the Server pod annotations. Service and IPv6 are not supported
Using --udn option create a UserDefinedNetwork object on the netperf ns
@capolrik
Copy link
Contributor Author

@jtaleric @rsevilla87 did you have the time to take a look at it?

pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
pkg/k8s/kubernetes.go Outdated Show resolved Hide resolved
@capolrik
Copy link
Contributor Author

@rsevilla87 @jtaleric I have updated the PR. Sorry for the late response, I had no OCP cluster to test the change last week.

@capolrik
Copy link
Contributor Author

@rsevilla87 @jtaleric is it okay to merge this? My next step would be to add the UDN support for VMs

Copy link
Member

@rsevilla87 rsevilla87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@jtaleric jtaleric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jtaleric jtaleric merged commit 0d99424 into cloud-bulldozer:main Nov 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants