MCPcopy
hub / github.com/openkruise/kruise

github.com/openkruise/kruise @v1.9.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.9.0 ↗
6,805 symbols 27,088 edges 814 files 2,678 documented · 39%
README

Kruise

License Go Report Card CII Best Practices Build Status CircleCI codecov Contributor Covenant

English | 简体中文

介绍

OpenKruise (官网: https://openkruise.io) 是CNCF(Cloud Native Computing Foundation) 的孵化项目。 它提供一套在 Kubernetes核心控制器 之外的扩展工作负载、应用管理能力。

核心能力

  • 高级工作负载

通用工作负载能帮助你管理 stateless(无状态)、stateful(有状态)、daemon 类型和作业类的应用。

它们不仅支持类似于 Kubernetes 原生 Workloads 的基础功能,还提供了如 原地升级可配置的扩缩容/发布策略并发操作 等。

Kruise通过SidecarSet简化了Sidecar的注入, 并提供了sidecar原地升级的能力。另外, Kruise提供了增强的sidecar启动、退出的控制

它可以帮助你在一个 Kubernetes 集群中的多个区域上部署应用,比如 不同的 node 资源池、可用区、机型架构(x86 & arm)、节点类型(kubelet & virtual kubelet)等。

这里我们提供两种不同的方式:

快速开始

你可以在 OpenKruise website 查看到完整的文档集。

在阿里云上快速体验

  • 3分钟内在阿里云上创建 Kruise 体验环境:

Deploy on Alibaba Cloud

用户

登记: 如果贵司正在使用 Kruise 请留言

  • 阿里巴巴集团, 蚂蚁集团, 斗鱼TV, 申通, Boss直聘
  • 杭银消费, 万翼科技, 多点, Bringg, 佐疆科技
  • Lyft, 携程, 享住智慧, VIPKID, 掌门1对1
  • 小红书, 比心, 永辉科技中心, 跟谁学, 哈啰出行
  • Spectro Cloud, 艾佳生活, Arkane Systems, 滴普科技, 火花思维
  • OPPO, 苏宁, 欢聚时代, 汇量科技, 深圳凤凰木网络有限公司
  • 小米, 网易, 美团金融, 虾皮购物, e签宝
  • LinkedIn, 雪球, 兴盛优选, Wholee, LilithGames, Baidu
  • Bilibili, 冠赢互娱, MeiTuan, 同城

贡献

我们非常欢迎每一位社区同学共同参与 Kruise 的建设,你可以从 CONTRIBUTING.md 手册开始。

社区

活跃的社区途径:

  • Slack: OpenKruise channel (English)
  • 钉钉:搜索群ID 23330762 (Chinese)
  • 微信:添加用户 openkruise 并让机器人拉你入群 (Chinese)
  • 社区双周会 (APAC, Chinese):
  • 周四 19:30 GMT+8 (Asia/Shanghai)
  • 进入会议(钉钉): 搜索群ID 23330762
  • 会议纪要
  • Bi-weekly Community Meeting (English): TODO
  • 进入会议(zoom)

安全

汇报安全漏洞请通过邮箱kubernetes-security@service.aliyun.com, 更多安全细节并参见SECURITY.md

License

Kruise is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Extension points exported contracts — how you extend this code

ImagePullJobsGetter (Interface)
ImagePullJobsGetter has a method to return a ImagePullJobInterface. A group's client should implement this interface. [8 …
pkg/client/clientset/versioned/typed/apps/v1beta1/imagepulljob.go
Runnable (Interface)
Runnable allows a component to be started. It's very important that Start blocks until it's done running. [9 implementers]
pkg/daemon/daemon.go
CertWriter (Interface)
CertWriter provides method to handle webhooks. [3 implementers]
pkg/webhook/util/writer/certwriter.go
ReplicaAllocator (Interface)
(no doc) [4 implementers]
pkg/controller/uniteddeployment/allocator.go
AdapterWithPatch (Interface)
(no doc) [3 implementers]
pkg/util/podadapter/adapter.go
ProviderInterface (Interface)
ProviderInterface contains the implementation for certain provider-specific functionality. [1 implementers]
test/e2e/framework/v1beta1/provider.go
SidecarControl (Interface)
(no doc) [1 implementers]
pkg/control/sidecarcontrol/api.go
AdvancedCronJobsGetter (Interface)
AdvancedCronJobsGetter has a method to return a AdvancedCronJobInterface. A group's client should implement this interfa [8 …
pkg/client/clientset/versioned/typed/apps/v1beta1/advancedcronjob.go

Core symbols most depended-on inside this repo

Expect
called by 3602
pkg/util/expectations/resource_version_expectation.go
Get
called by 726
pkg/client/listers/apps/v1alpha1/nodeimage.go
Error
called by 467
pkg/util/calculator/calculator_y.go
List
called by 464
pkg/client/listers/apps/v1alpha1/cloneset.go
Run
called by 390
pkg/daemon/daemon.go
String
called by 368
pkg/util/calculator/calculator.go
Now
called by 332
pkg/controller/advancedcronjob/advancedcronjob_controller.go
AppsV1alpha1
called by 264
pkg/client/clientset/versioned/clientset.go

Shape

Method 2,900
Function 2,800
Struct 729
Interface 260
TypeAlias 88
FuncType 28

Languages

Go99%
TypeScript1%
Python1%

Modules by API surface

apis/apps/v1alpha1/zz_generated.deepcopy.go342 symbols
apis/apps/v1beta1/zz_generated.deepcopy.go158 symbols
pkg/controller/statefulset/stateful_set_control_test.go80 symbols
test/e2e/framework/common/util.go68 symbols
test/e2e/framework/v1beta1/util.go67 symbols
docs/tutorial/v1/images/guestbook/public/jquery.min.js63 symbols
pkg/controller/statefulset/stateful_set_utils.go59 symbols
test/e2e/framework/v1beta1/statefulset_utils.go56 symbols
pkg/controller/statefulset/statefulset_controller_test.go41 symbols
pkg/controller/statefulset/stateful_set_utils_test.go40 symbols
pkg/client/informers/externalversions/apps/v1alpha1/interface.go37 symbols
pkg/control/sidecarcontrol/util.go35 symbols

Dependencies from manifests, versioned

cel.dev/exprv0.18.0 · 1×
cyphar.com/go-pathrsv0.2.1 · 1×
github.com/AdaLogics/go-fuzz-headersv0.0.0-2024080614160 · 1×
github.com/Microsoft/go-winiov0.6.2 · 1×
github.com/NYTimes/gziphandlerv1.1.1 · 1×
github.com/alessio/shellescapev1.4.1 · 1×
github.com/antlr4-go/antlr/v4v4.13.0 · 1×
github.com/appscode/jsonpatchv1.0.1 · 1×
github.com/asaskevich/govalidatorv0.0.0-2020090720560 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/blang/semver/v4v4.0.0 · 1×

For agents

$ claude mcp add kruise \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact