calico/cni
Project Calico的CNI插件是为容器编排平台(如Kubernetes)设计的容器网络接口插件,作为开源项目Calico实现容器网络功能的关键组件,它提供网络连接配置、网络策略管理、跨节点网络通信等核心功能,支持动态网络参数调整,确保容器间高效、安全的网络互通,助力容器化应用稳定运行。
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Calico Networking for CNI
This repository contains the Project Calico network plugin for CNI. This plugin allows you to use Calico networking for any orchestrator which makes use of the https://github.com/appc/cni.
This repository includes a top-level CNI networking plugin, as well as a CNI IPAM plugin which makes use of Calico IPAM.
For details of configuration, see the configuration.md file.
The https://github.com/projectcalico/calico-containers/blob/master/docs/cni/kubernetes/README.md contains getting started guides for a number of scenarios, as well as more detailed documentation regarding our CNI integration.
To learn more about CNI, visit the https://github.com/appc/cni repo.
Building the plugins and running tests
To build the Calico Networking Plugin for CNI locally, clone this repository and run make. This will build both CNI plugin binaries and run the tests.
- To just build the binaries, with no tests, run
make binary. This will producedist/calicoanddist/calico-ipam. - To only run the tests, simply run
make test.
Release process
- Create a release on Github and use it to create a tag
- Check the tag out locally and run
make release
- Attach
dist/calicoanddist/calico-ipamto the Github release
更多相关 Docker 镜像与资源
以下是 calico/cni 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
- flannel/flannel Docker 镜像说明(Flannel 容器网络,Kubernetes CNI 插件)
- openeuler/flannel Docker 镜像说明(Flannel 容器镜像,适合 openeuler 维护的 Flannel 工作负载部署)
Deployment & Usage Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
镜像拉取常见问题
功能
错误码
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务
