macOS
brew install kubebuilderlocal Homebrew formula metadata
安装
brew install kubebuilderlocal Homebrew formula metadata
nix profile install nixpkgs#kubebuildernixpkgs package indexes · pkgs/by-name/ku/kubebuilder/package.nix · 来源: api.github.com
概览
SDK for building Kubernetes APIs using CRDs
历史
Kubebuilder is the Kubernetes SIG API Machinery framework and CLI for building Kubernetes APIs and controllers with Custom Resource Definitions. It scaffolds Go projects, controllers, webhooks, manifests, tests, and deployment configuration around the controller-runtime and controller-tools libraries.
The kubernetes-sigs/kubebuilder repository was created on 2018-03-14, and the first GitHub release listed by the releases API, v1.9-alpha.30, was published on 2018-03-15. From the start, Kubebuilder sat inside the Kubernetes SIGs ecosystem rather than as a third-party wrapper.
The Kubebuilder Book frames the project as a way to reduce the boilerplate involved in building Kubernetes APIs with CRDs. The README compares its role to application frameworks such as Ruby on Rails or Spring Boot: it encodes the canonical Kubernetes API-building approach into generators, libraries, plugins, and conventions.
Over time the project formalized plugin and project versioning. The documentation distinguishes Kubebuilder release versions, PROJECT file schema versions, and plugin versions, which reflects how a scaffolding tool has to evolve while preserving already-generated operator projects.
Kubebuilder became a foundational tool in the Kubernetes operator ecosystem because it is developed with controller-runtime and controller-tools. The README explicitly names Operator SDK as an example of a project that uses Kubebuilder as a library and plugin system, which made Kubebuilder's conventions visible beyond users who install the kubebuilder binary directly.
The project is distributed through GitHub releases and Homebrew, but its larger adoption story is in generated code: many operator repositories carry Kubebuilder-style PROJECT files, Makefiles, RBAC manifests, controller tests, and controller-runtime patterns.
Users typically run kubebuilder init to create a project and kubebuilder create api to add APIs and controllers. The generated project is then edited as normal Go code while Kubebuilder-owned markers and generators keep CRDs, RBAC, and webhook manifests synchronized.
Kubebuilder is not just a one-shot template generator. Its plugin versioning, migrations, and library hooks support long-lived projects that may need to adopt newer Kubernetes APIs or scaffolding layouts without abandoning existing code.
For package nerds, Kubebuilder is one of the important Kubernetes CLIs because installing a single binary gives access to a large, opinionated development workflow. It is the kind of tool where package version, generated layout version, and dependency versions all matter.
It also marks the point where Kubernetes extension development moved from hand-rolled controller boilerplate toward reproducible project scaffolding. That makes the package culturally important even when the final runtime artifact is a controller image rather than the kubebuilder binary itself.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kubebuilder | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/kubernetes-sigs/kubebuilder
安装元数据
| 软件包键 | brew:kubebuilder |
|---|---|
| 版本 | 4.15.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kubebuilder |
| 主页 | https://github.com/kubernetes-sigs/kubebuilder |
| 仓库 | https://github.com/kubernetes-sigs/kubebuilder |
| 上游文档 | https://book.kubebuilder.io/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/kubernetes-sigs/kubebuilder.git |
| 最后更新 | 2026-06-15T10:40:43Z |
| Pulse | updated |
| 依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubebuilder |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
kubebuilder
nix profile install nixpkgs#kubebuilder来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.