This repository contains the yaml files and test scripts to test all the traffic flows in an OVN-Kubernetes cluster.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git diff pkg/types/conf.go | |
| diff --git a/pkg/types/conf.go b/pkg/types/conf.go | |
| index b0ca491..2420c67 100644 | |
| --- a/pkg/types/conf.go | |
| +++ b/pkg/types/conf.go | |
| @@ -143,10 +143,13 @@ func LoadDelegateNetConf(bytes []byte, net *NetworkSelectionElement, deviceID st | |
| } | |
| // mergeCNIRuntimeConfig creates CNI runtimeconfig from delegate | |
| -func mergeCNIRuntimeConfig(runtimeConfig *RuntimeConfig, delegate *DelegateNetConf) *RuntimeConfig { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: sriov-pod-1 | |
| annotations: | |
| k8s.v1.cni.cncf.io/networks: sriov-net-a, sriov-net-b | |
| spec: | |
| containers: | |
| - name: sriov-example | |
| image: dpdk-app-centos:latest |
The Kubernetes Network Plumbing Working Group is an informal group working to enable flexible networking for Kubernetes.
This repository contains the officially approved versions of the Kubernetes Network Plumbing Working Group's Device Information Specification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ docker exec -ti ovn-worker /bin/sh | |
| # | |
| # | |
| # iptables -t nat -L -n | |
| Chain PREROUTING (policy ACCEPT) | |
| target prot opt source destination | |
| OVN-KUBE-EXTERNALIP all -- 0.0.0.0/0 0.0.0.0/0 | |
| OVN-KUBE-NODEPORT all -- 0.0.0.0/0 0.0.0.0/0 | |
| KUBE-SERVICES all -- 0.0.0.0/0 0.0.0.0/0 /* kubernetes service portals */ |