All Projects → alibaba → hybridnet

alibaba / hybridnet

Licence: Apache-2.0 license
A CNI plugin, provides networking environment where overlay and underlay containers can run on the same node and have cluster-wide bidirectional network connectivity.

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to hybridnet

bagpipe-cni
CNI plugin for BaGPipe BGP
Stars: ✭ 14 (-92.55%)
Mutual labels:  bgp, vxlan, cni-plugin
Kube Ovn
A Kubernetes Network Fabric for Enterprises that is Rich in Functions and Easy in Operations
Stars: ✭ 798 (+324.47%)
Mutual labels:  sdn, cni
bridget
Simple bridge network for kubernetes
Stars: ✭ 37 (-80.32%)
Mutual labels:  vlan, cni
ovs-cni
Open vSwitch CNI plugin
Stars: ✭ 176 (-6.38%)
Mutual labels:  cni, kubernetes-networking
dperf
dperf is a DPDK based 100Gbps network performance and load testing software.
Stars: ✭ 1,320 (+602.13%)
Mutual labels:  vlan, vxlan
koko
Connect containers as point-to-point connection, using veth/vxlan/vlan/macvlan
Stars: ✭ 77 (-59.04%)
Mutual labels:  vlan, vxlan
hostnic-cni
hostnic-cni is a Container Network Interface plugin.
Stars: ✭ 25 (-86.7%)
Mutual labels:  container, cni-plugin
Sdn Handbook
SDN网络指南(SDN Handbook)
Stars: ✭ 856 (+355.32%)
Mutual labels:  sdn, cni
pilot
Simple web-based SDN controller for family and friends
Stars: ✭ 33 (-82.45%)
Mutual labels:  bgp, sdn
pathman-sr
Pathman SR is an open-source app to compute paths and deploy routes in Segment Routing-enabled network.
Stars: ✭ 79 (-57.98%)
Mutual labels:  bgp, sdn
Cilium
eBPF-based Networking, Security, and Observability
Stars: ✭ 10,256 (+5355.32%)
Mutual labels:  cni, kubernetes-networking
Kube Router
Kube-router, a turnkey solution for Kubernetes networking.
Stars: ✭ 1,814 (+864.89%)
Mutual labels:  bgp, kubernetes-networking
cni-plugins
CNI Plugins compatible with nftables
Stars: ✭ 29 (-84.57%)
Mutual labels:  cni, cni-plugin
Yabgp
Yet Another BGP Python Implementation
Stars: ✭ 177 (-5.85%)
Mutual labels:  bgp, sdn
Ryu-SDN-IP
SDN-IP project implemented by Ryu SDN framework.
Stars: ✭ 33 (-82.45%)
Mutual labels:  bgp, sdn
Corebgp
CoreBGP is a BGP library written in Go that implements the BGP FSM with an event-driven, pluggable model.
Stars: ✭ 124 (-34.04%)
Mutual labels:  bgp, sdn
Kathara
A lightweight container-based network emulation system.
Stars: ✭ 139 (-26.06%)
Mutual labels:  bgp, sdn
Peering Manager
Peering sessions management tool
Stars: ✭ 189 (+0.53%)
Mutual labels:  bgp
Asn
ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation and geolocation lookup tool / Traceroute server
Stars: ✭ 242 (+28.72%)
Mutual labels:  bgp
Arouteserver
A tool to automatically build (and test) feature-rich configurations for BGP route servers.
Stars: ✭ 181 (-3.72%)
Mutual labels:  bgp

Hybridnet

Go Report Card Github All Releases Version Artifact Hub License codecov workflow check workflow build

Hybridnet is an open source container networking solution designed for hybrid clouds, integrated with Kubernetes and used officially by following well-known PaaS platforms

  • ACK Distro of Alibaba Cloud
  • AECP of Alibaba Cloud
  • SOFAStack of Ant Financial Co.

Introduction

Most CNI plugins classify the forms of container network into two types and make them work at their own paces without connection:

  1. Overlay, an abstract data plane on top of host network which is usually not visible to underlying network and brings cost
  2. Underlay, putting container traffic "directly" into host network and depending on the abilities of underlying network

In hybridnet, we try to break the strict boundary of all the forms of container network with a simple design:

  1. Overlay and underlay network can be created in the same cluster
  2. If a connection has either an overlay container side (even the other side is an underlay container), it's considered an "Overlay" connection (without NATed). In other words, underlay containers are always connected with overlay containers directly, just like they are all overlay containers
  3. Traffic between underlay containers keeps the origin "Underlay" attributes. Lower costs and being visible to underlying network

datapath

The users of hybridnet can keep both Overlay and Underlay network inside a Kubernetes cluster without any concern about the connectivity, which brings a more flexible and extensible container network to orchestrate different applications.

As the foundation of hybridnet, we use "Policy Routing" to distribute traffic across the different data planes. The feature of "Policy Routing" is introduced in 2.1 version of linux kernel as a basic part of routing subsystem, which provides strong stability and compatibility. Another two docs about hybridnet components and the contrast between hybridnet and other CNI implementations can be considered as further references.

Features

  • Unified topology-aware management APIs implemented with Kubernetes CRD
  • Support IPv4/IPv6 dual stack
  • Multiple network fabrics. VXLAN(overlay), VLAN(underlay), BGP(underlay), etc.
  • Advanced IPAM. Retaining IP for stateful workloads, topology-aware IP allocation, etc.
  • Good compatibility with other networking components (e.g., kube-proxy, cilium)

How-To-Use

See documents on wiki.

Compile and build

Clone the repository to local and make can build hybridnet images.

Contributing

Hybridnet welcome contributions, including bug reports, feature requests and documentation improvements. If you want to contribute, please start with CONTRIBUTING.md

Contact

For any questions about hybridnet, please reach us via:

  • Slack: #general on the hybridnet slack
  • DingTalk: Group No.35109308
  • E-mail: private or security issues should be reported via e-mail addresses listed in the MAINTAINERS file

License

Apache 2.0 License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].