Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 kubebuilder

查看 kubebuilder 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kubebuilder

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#kubebuilder

nixpkgs package indexes · pkgs/by-name/ku/kubebuilder/package.nix · 来源: api.github.com

概览

软件包摘要

SDK for building Kubernetes APIs using CRDs

命令和别名

  • kubebuilder

历史

项目历史与用法

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.

时间线

  • 2018-03-14: GitHub repository created under kubernetes-sigs.
  • 2018-03-15: GitHub release v1.9-alpha.30 published.
  • 2018-03-20: GitHub release v1alpha1.0 published for Kubernetes 1.9-era scaffolding.
  • 2026-06-15: GitHub release v4.15.0 published.

Related projects

  • controller-runtime is the runtime library foundation for Kubebuilder-generated controllers.
  • controller-tools supplies code and manifest generation pieces used in the Kubebuilder workflow.
  • Operator SDK uses Kubebuilder as a library and extends the workflow for additional operator styles.
  • Custom Resource Definitions are the Kubernetes API-extension mechanism Kubebuilder targets.

来源

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kubebuildercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.15.0
管理器更新时间2026-06-15
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekubebuilder
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

kubebuilder

nix profile install nixpkgs#kubebuilder
  • normalized package name match
  • 匹配方式:Kubebuilder
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ku/kubebuilder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment