{"id":28740936,"url":"https://github.com/aliyuncontainerservice/terway","last_synced_at":"2025-06-16T07:09:38.061Z","repository":{"id":37335713,"uuid":"142563999","full_name":"AliyunContainerService/terway","owner":"AliyunContainerService","description":"CNI plugin for Alibaba Cloud VPC/ENI","archived":false,"fork":false,"pushed_at":"2025-06-16T03:46:30.000Z","size":21427,"stargazers_count":572,"open_issues_count":9,"forks_count":157,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-16T04:55:28.579Z","etag":null,"topics":["cni","eni","vpc"],"latest_commit_sha":null,"homepage":"https://www.aliyun.com/product/kubernetes","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AliyunContainerService.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-27T10:32:34.000Z","updated_at":"2025-06-16T03:46:33.000Z","dependencies_parsed_at":"2023-11-27T02:51:02.237Z","dependency_job_id":"55220736-dec9-4141-8463-0282ae16899e","html_url":"https://github.com/AliyunContainerService/terway","commit_stats":null,"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/AliyunContainerService/terway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliyunContainerService%2Fterway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliyunContainerService%2Fterway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliyunContainerService%2Fterway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliyunContainerService%2Fterway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AliyunContainerService","download_url":"https://codeload.github.com/AliyunContainerService/terway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliyunContainerService%2Fterway/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260116644,"owners_count":22961065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cni","eni","vpc"],"created_at":"2025-06-16T07:09:37.323Z","updated_at":"2025-06-16T07:09:38.042Z","avatar_url":"https://github.com/AliyunContainerService.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terway 网络插件  \n\nCNI plugin for alibaba cloud VPC/ENI\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/AliyunContainerService/terway)](https://goreportcard.com/report/github.com/AliyunContainerService/terway)\n[![codecov](https://codecov.io/gh/AliyunContainerService/terway/branch/main/graph/badge.svg)](https://codecov.io/gh/AliyunContainerService/terway)\n[![Linter](https://github.com/AliyunContainerService/terway/workflows/check/badge.svg)](https://github.com/marketplace/actions/super-linter)\n\n[English](./README.md) | 简体中文\n\n## 简介\n\nTerway网络插件是ACK自研的容器网络接口（CNI）插件，基于阿里云的弹性网卡（ENI）构建网络，可以充分利用云上资源。Terway支持eBPF对网络流量进行加速，降低延迟，支持基于Kubernetes标准的网络策略（Network Policy）来定义容器间的访问策略。\n\n在Terway网络插件中，每个Pod都拥有自己的网络栈和IP地址。同一台ECS内的Pod之间通信，直接通过机器内部的转发，跨ECS的Pod通信、报文通过VPC的弹性网卡直接转发。由于不需要使用VxLAN等的隧道技术封装报文，因此Terway模式网络具有较高的通信性能。\n\n## 特性\n\n- ENI网络模式：分配 Elastic Network Interfaces (ENIs) 给Pod，优化资源利用率和网络性能。\n- Trunking功能：允许Pod配置独立的ENI，支持灵活安全组、交换机配置。\n- 节点池维度网络模式配置：支持节点池配置为独占ENI。\n- 安全策略：支持NetworkPolicy和传统的安全组，提供多维度的网络安全控制。\n- 高性能：使用eBPF加速协议栈，确保低延迟和高吞吐量。\n- IPv6: 支持IPv4/IPv6双栈。\n- 灵骏: 支持智能计算灵骏。\n\n### 以下功能已经废弃\n\n- VPC网络模式：利用VPC路由，实现容器与VPC内其他资源的直接通信。\n- 独占ENI模式：将ENI直通进Pod，最大化网络性能。（替换为通过节点池维度网络模式配置为独占ENI）\n\n## 版本差异\n\nACK 提供的版本和开源一致。仅Trunking功能无法在自建集群使用。\n\n## 贡献\n\n我们非常欢迎社区的贡献！无论是修复bug、新增功能、改进文档，或者仅仅是对现有代码的改进，你的帮助都将被我们珍视。\n\n[报告问题](https://github.com/AliyunContainerService/terway/issues/new)\n[提交Pull Request](https://github.com/AliyunContainerService/terway/compare)\n\n## 安全\n\n如果您发现了代码中的安全漏洞，请联系[kubernetes-security@service.aliyun.com](mailto:kubernetes-security@service.aliyun.com)。详见 [SECURITY.md](SECURITY.md)\n\n## 社区\n\n### 钉钉群\n\n通过钉钉群号 \"35924643\" 加入`钉钉`群组。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyuncontainerservice%2Fterway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliyuncontainerservice%2Fterway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyuncontainerservice%2Fterway/lists"}