开源软件名称(OpenSource Name):ovn-org/ovn-kubernetes开源软件地址(OpenSource Url):https://github.com/ovn-org/ovn-kubernetes开源编程语言(OpenSource Language):Go 97.6%开源软件介绍(OpenSource Introduction):How to use Open Virtual Networking with KubernetesOn Linux, the easiest way to get started is to use OVN DaemonSet and Deployments. Master Based Ovn-Kubernetes ImagesWith every PR that is merged into master, ovn-kubernetes images are automatically rebuilt and pushed to ghcr.io (i.e ovn-org's packages) for consumption. They are built with fedora, and ubuntu base images both of which are built for arm64 and amd64 architectures. These are not official releases and are just provided to make using ovn-kubernetes easier for other projects. Install Open vSwitch kernel modules on all hosts.Most Linux distributions come with Open vSwitch kernel module by default. You
can check its existence with To install Open vSwitch kernel module from Open vSwitch repo manually, please read INSTALL.rst. Run DaemonSet and DeploymentCreate OVN StatefulSet, DaemonSet and Deployment yamls from templates by running the commands below: (The $MASTER_IP below is the IP address of the machine where kube-apiserver is running).
Take note that the image To set specific logging level for OVN components, pass the related parameter from the below mentioned list to the above command. Set values are the default values.
If you are not running OVS directly in the nodes, you must apply the OVS Daemonset yaml.
Apply OVN DaemonSet and Deployment yamls.
NOTE: You don't need kube-proxy for OVN to work. You can delete that from your cluster. Building the Daemonset containerInstall build dependencies. If needed, create a softlink for
Now, clone the OVN Kubernetes repository, build the binaries, and build and push your image to your registry:
Now, build the image with:
Docs overviewGeneralOVN overlay network on Openshift describes how an OVN overlay network is setup on Openshift 3.10 and later. It explains the various components and how they come together to establish the OVN overlay network. People that are interested in understatnding how the ovn cni plugin is installed will find this useful. CI Tests describes how OVN-Kubernetes runs E2E tests, how to update the set of tests that run and how to run these tests locally. OVN kubernetes KIND Setup. KIND (Kubernetes in Docker) deployment of OVN kubernetes is a fast and easy means to quickly install and test kubernetes with OVN kubernetes CNI. The value proposition is really for developers who want to reproduce an issue or test a fix in an environment that can be brought up locally and within a few minutes. The golang based ovn kubernetes go-controller is a reliable way to
deploy the OVN SDN using kubernetes clients and watchers based on golang. Contains Installation/configurationInstalling OVS and OVN on Ubuntu both from packages and source SSL This document explains the way one could use SSL for connectivity between OVN components. ovn-northd SSL If the ovn-northd instance is not running on the same node as OVN NB and OVN SB database, then you will need to follow this doc to secure the communication between ovn-northd and NB/SB databases. Config variables The config file contains common configuration options shared between the various ovn-kubernetes programs (ovnkube, ovn-k8s-cni-overlay, etc). This doc describes how to override the default values for some config options. How to use Open Virtual Networking with Kubernetes (manual installation). FeaturesEgress Firewall The EgressFirewall feature enables a cluster administrator to limit the external hosts that a pod in a project can access. The EgressFirewall object rules apply to all pods that share the namespace with the egressfirewall object. Hybrid Overlay feature creates VXLAN tunnels to nodes in the cluster that have been excluded from the ovn-kubernetes overlay using the no-hostsubnet-nodes config option. These tunnels allow pods on ovn-kubernetes nodes to communicate directly with other pods on nodes that do not run ovn-kubernetes. OVN multicast enables data to be delivered to multiple IP addresses simultaneously. For this to happen, the 'receivers' join a multicast group, and the sender(s) send data to it. NetworkPolicy features and examples. By default the network traffic from and to K8s pods is not restricted in any way. Using NetworkPolicy is a way to enforce network isolation of selected pods. OVS Hardware Offload. The OVS software based solution is CPU intensive, affecting system performance and preventing fully utilizing available bandwidth. OVS 2.8 and above support new feature called OVS Hardware Offload which improves performance significantly. This feature allows to offload the OVS data-plane to the NIC while maintaining OVS control-plane unmodified. OVN central database High-availability OVN architecture has two central databases that can be clustered. The databases are OVN_Northbound and OVN_Southbound. This document explains how to cluster them and start various daemons for the ovn-kubernetes integration. External IP and LoadBalancer Ingress OVN Kubernetes implements both External IPs and LoadBalancer Ingress IPs in the form of highly available OVN load balancers. It is the administrator's responsibility to route traffic to the Kubernetes nodes for both of these VIP types. Otherovnkube-trace a tool to trace packet simulations between points in an ovn-kubernetes driven cluster. OVN Kubernetes BasicsA good resource to get started with understanding |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论