You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests: Added go unit tests and E2E tests for Kube-OVN Non-Primary CNI mode (#5732)
* Add unit tests for VPC NAT gateway and network attachment functionalities
- Implemented tests for replacing endpoint addresses with secondary IPs in endpoint slices.
- Created new test file for pod-related functionalities, including checks for VPC NAT gateway annotations and network attachments.
- Added tests for retrieving subnet providers, ensuring correct behavior for valid and non-existent subnets.
- Enhanced network attachment utility tests to cover various scenarios, including valid and invalid JSON inputs.
Signed-off-by: Vishal Mohan <[email protected]>
* Add e2e tests and configurations for non-primary CNI functionality
- Implemented e2e tests for non-primary CNI, including VPC and logical network scenarios.
- Created test configurations for VPC simple and NAT gateway setups.
- Added YAML files for logical network and VPC resources to support dynamic KIND bridge network detection.
- Enhanced test framework to handle network interface creation and configuration processing.
Signed-off-by: Vishal Mohan <[email protected]>
* Enhance E2E tests for non-primary CNI with dynamic versioning and resource cleanup
- Introduced functions to dynamically determine Kube-OVN version and registry.
- Added a cleanup function to remove finalizers from Kube-OVN resources.
- Improved pod IP retrieval logic to handle both primary and non-primary CNI cases.
- Refactored the processConfigWithKindBridge function to use dynamic image tags.
- Enhanced test configurations to create a dedicated namespace and network attachment definitions for non-primary CNI testing.
- Updated YAML configurations to reflect new resource definitions and annotations for test pods.
- Improved error handling and resource readiness checks in tests.
Signed-off-by: Vishal Mohan <[email protected]>
* Clean up
Signed-off-by: Vishal Mohan <[email protected]>
* Fixed lint errors
Signed-off-by: Vishal Mohan <[email protected]>
* Add non-primary CNI E2E test workflow to build-x86-image.yaml
Signed-off-by: Vishal Mohan <[email protected]>
* Refactor non-primary CNI setup and enhance E2E tests with updated configurations
Signed-off-by: Vishal Mohan <[email protected]>
* reorder documents
Signed-off-by: Mengxin Liu <[email protected]>
---------
Signed-off-by: Vishal Mohan <[email protected]>
Signed-off-by: Mengxin Liu <[email protected]>
Co-authored-by: Vishal Mohan <[email protected]>
Co-authored-by: Mengxin Liu <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Kube-OVN, a [CNCF Sandbox Project](https://www.cncf.io/sandbox-projects/), integ
20
20
-**Vlan/Underlay Support**: In addition to overlay network, Kube-OVN also supports underlay and vlan mode network for better performance and direct connectivity with physical network.
21
21
-**Static IP Addresses for Workloads**: Allocate random or static IP addresses to workloads.
22
22
-**Seamless VM LiveMigration**: Live migrate KubeVirt vm without network interruption.
23
+
-**Non-Primary CNI Mode**: Kube-OVN can work as a secondary CNI alongside other primary CNIs (Cilium, Calico, etc.), providing additional network interfaces and advanced networking features via Network Attachment Definitions (NADs).
23
24
-**Multi-Cluster Network**: Connect different Kubernetes/Openstack clusters into one L3 network.
24
25
-**TroubleShooting Tools**: Handy tools to diagnose, trace, monitor and dump container network traffic to help troubleshoot complicate network issues.
25
26
-**Prometheus & Grafana Integration**: Exposing network quality metrics like pod/node/service/dns connectivity/latency in Prometheus format.
0 commit comments