Apache License 2.0

项目介绍

alibaba/hybridnet 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 Apache License 2.0 许可证,目前获得 274 个 Star、44 次 Fork。

仓库全名
alibaba/hybridnet
开源许可证
Apache License 2.0
Star 数
274
Fork 数
44
未关闭 Issue
14

README 摘要

Hybridnet 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,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

hybridnet 用什么语言开发?

主要使用 Go 编写,采用 Apache License 2.0 许可证,目前有 274 个 Star。

hybridnet 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 hybridnet 的源码?

可以直接克隆仓库:git clone https://github.com/alibaba/hybridnet.git,默认分支为 main;安装与运行步骤见仓库 README。

hybridnet 最近还在维护吗?

仓库最近一次更新为 2024年9月18日,当前有 14 个未关闭 Issue;Star 数为 274,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Make underlay and overlay network can coexist, communicate, even be transformed purposefully.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
371
价值分
177
活跃状态
活跃

语言占比

Go
Makefile
Shell

Release

README

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

评论

暂无评论