[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5105":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},5105,"kubebuilder","kubernetes-sigs\u002Fkubebuilder","kubernetes-sigs","Kubebuilder - SDK for building Kubernetes APIs using CRDs","http:\u002F\u002Fbook.kubebuilder.io",null,"Go",9178,1666,94,24,0,3,9,49,13,81.07,"Apache License 2.0",false,"master",true,[27],"k8s-sig-api-machinery","2026-06-12 04:00:24","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\".\u002Fdocs\u002Fbook\u002Fsrc\u002Flogos\u002Fkb-logo-one-line.svg\" alt=\"kubebuilder logo\" width=\"400\" height=\"auto\">\n\n[![OpenSSF Scorecard](https:\u002F\u002Fapi.scorecard.dev\u002Fprojects\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Fbadge)](https:\u002F\u002Fscorecard.dev\u002Fviewer\u002F?uri=github.com\u002Fkubernetes-sigs\u002Fkubebuilder)\n[![Verify All](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Factions\u002Fworkflows\u002Fverify-all.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Factions\u002Fworkflows\u002Fverify-all.yml)\n[![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fsigs.k8s.io\u002Fkubebuilder)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fsigs.k8s.io\u002Fkubebuilder)\n[![Coverage Status](https:\u002F\u002Fcoveralls.io\u002Frepos\u002Fgithub\u002Fkubernetes-sigs\u002Fkubebuilder\u002Fbadge.svg?branch=master)](https:\u002F\u002Fcoveralls.io\u002Fgithub\u002Fkubernetes-sigs\u002Fkubebuilder?branch=master)\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fkubernetes-sigs\u002Fkubebuilder)](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Freleases)\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fsigs.k8s.io\u002Fkubebuilder\u002Fv4.svg)](https:\u002F\u002Fpkg.go.dev\u002Fsigs.k8s.io\u002Fkubebuilder\u002Fv4)\n\n\u003C\u002Fdiv>\n\nKubebuilder is a framework for building Kubernetes APIs using [custom resource definitions (CRDs)](https:\u002F\u002Fkubernetes.io\u002Fdocs\u002Ftasks\u002Faccess-kubernetes-api\u002Fextend-api-custom-resource-definitions).\n\nSimilar to web development frameworks such as *Ruby on Rails* and *SpringBoot*,\nKubebuilder increases velocity and reduces the complexity managed by\ndevelopers for rapidly building and publishing Kubernetes APIs in Go.\nIt builds on top of the canonical techniques used to build the core Kubernetes APIs to provide simple abstractions that reduce boilerplate and toil.\n\nKubebuilder does **not** exist as an example to *copy-paste*, but instead provides powerful libraries and tools\nto simplify building and publishing Kubernetes APIs from scratch. It\nprovides a plugin architecture allowing users to take advantage of optional helpers\nand features. To learn more about this see the [Plugin section][plugin-section].\n\nKubebuilder is developed on top of the [controller-runtime][controller-runtime] and [controller-tools][controller-tools] libraries.\n\n### Kubebuilder is also a library\n\nKubebuilder is extensible and can be used as a library in other projects.\n[Operator-SDK][operator-sdk] is a good example of a project that uses Kubebuilder as a library.\n[Operator-SDK][operator-sdk] uses the plugin feature to include non-Go operators _e.g. operator-sdk's Ansible and Helm-based language Operators_.\n\nTo learn more see [how to create your own plugins][your-own-plugins].\n\n### Installation\n\nIt is strongly recommended that you use a released version. Release binaries are available on the [releases](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Freleases) page.\nFollow the [instructions](https:\u002F\u002Fbook.kubebuilder.io\u002Fquick-start.html#installation) to install Kubebuilder.\n\n## Getting Started\n\nSee the [Getting Started](https:\u002F\u002Fbook.kubebuilder.io\u002Fquick-start.html) documentation.\n\nAlso, ensure that you check out the [Deploy Image](.\u002Fdocs\u002Fbook\u002Fsrc\u002Fplugins\u002Favailable\u002Fdeploy-image-plugin-v1-alpha.md)\nPlugin. This plugin allows users to scaffold API\u002FControllers to deploy and manage an\nOperand (image) on the cluster following the guidelines and best practices. It abstracts the\ncomplexities of achieving this goal while allowing users to customize the generated code.\n\n## Documentation\n\nCheck out the Kubebuilder [book](https:\u002F\u002Fbook.kubebuilder.io).\n\n## Resources\n\n- Kubebuilder Book: [book.kubebuilder.io](https:\u002F\u002Fbook.kubebuilder.io)\n- GitHub Repo: [kubernetes-sigs\u002Fkubebuilder](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder)\n- Slack channel: [#kubebuilder](https:\u002F\u002Fkubernetes.slack.com\u002Fmessages\u002F#kubebuilder)\n- Google Group: [kubebuilder@googlegroups.com](https:\u002F\u002Fgroups.google.com\u002Fforum\u002F#!forum\u002Fkubebuilder)\n- Design Documents: [designs](designs\u002F)\n- Plugin: [plugins][plugin-section]\n\n## Motivation\n\nBuilding Kubernetes tools and APIs involves making a lot of decisions and writing a lot of boilerplate.\n\nTo facilitate easily building Kubernetes APIs and tools using the canonical approach, this framework\nprovides a collection of Kubernetes development tools to minimize toil.\n\nKubebuilder attempts to facilitate the following developer workflow for building APIs\n\n1. Create a new project directory\n2. Create one or more resource APIs as CRDs and then add fields to the resources\n3. Implement reconcile loops in controllers and watch additional resources\n4. Test by running against a cluster (self-installs CRDs and starts controllers automatically)\n5. Update bootstrapped integration tests to test new fields and business logic\n6. Build and publish a container from the provided Dockerfile\n\n## Scope\n\nBuilding APIs using CRDs, Controllers, and Admission Webhooks.\n\n## Philosophy\n\nSee [DESIGN.md](DESIGN.md) for the guiding principles of the various Kubebuilder projects.\n\nTL;DR:\n\nProvide clean library abstractions with clear and well-exampled go docs.\n\n- Prefer using go *interfaces* and *libraries* over-relying on *code generation*\n- Prefer using *code generation* over *1 time init* of stubs\n- Prefer *1 time init* of stubs over forked and modified boilerplate\n- Never fork and modify boilerplate\n\n## Techniques\n\n- Provide higher-level libraries on top of low-level client libraries\n  - Protect developers from breaking changes in low-level libraries\n  - Start minimal and provide progressive discovery of functionality\n  - Provide sane defaults and allow users to override when they exist\n- Provide code generators to maintain common boilerplate that can't be addressed by interfaces\n  - Driven off of `\u002F\u002F +` comments\n- Provide bootstrapping commands to initialize new packages\n\n## Versioning and Releasing\n\nSee [VERSIONING.md](VERSIONING.md).\n\n## Troubleshooting\n\n- ### Bugs and Feature Requests:\n  If you have what looks like a bug, or you would like to make a feature request, please use the [Github issue tracking system.](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Fissues)\nBefore you file an issue, please search existing issues to see if your issue is already covered.\n\n- ### Slack\n  For real-time discussion,  you can join the [#kubebuilder](https:\u002F\u002Fslack.k8s.io\u002F#kubebuilder) slack channel. Slack requires registration, but the Kubernetes team is an open invitation to anyone to register here. Feel free to come and ask any questions.\n\n## Contributing\n\nContributions are greatly appreciated. The maintainers actively manage the issues list and try to highlight issues suitable for newcomers.\nThe project follows the typical GitHub pull request model. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.\nBefore starting any work, please either comment on an existing issue or file a new one.\n\n## Operating Systems Supported\n\nCurrently, Kubebuilder officially supports macOS and Linux platforms. If you are using a Windows OS, we recommend you read the instructions in [here](docs\u002Fwindows.md).\n\nContributions towards supporting Windows are not planned.\n\n## Versions Compatibility and Supportability\n\nProjects created by Kubebuilder contain a `Makefile` that installs tools at versions defined during project creation. The main tools included are:\n\n- [kustomize](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkustomize)\n- [controller-gen](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fcontroller-tools)\n- [setup-envtest](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fcontroller-runtime\u002Ftree\u002Fmain\u002Ftools\u002Fsetup-envtest)\n\nAdditionally, these projects include a `go.mod` file specifying dependency versions.\nKubebuilder relies on [controller-runtime](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fcontroller-runtime) and its Go and Kubernetes dependencies.\nTherefore, the versions defined in the `Makefile` and `go.mod` files are the ones that have been tested, supported, and recommended.\n\nEach minor version of Kubebuilder is tested with a specific minor version of the client-go.\nWhile a Kubebuilder minor version *may* be compatible with other client-go minor versions,\nor other tools this compatibility is not guaranteed, supported, or tested.\n\nThe minimum Go version required by Kubebuilder is determined by the highest minimum\nGo version required by its dependencies. This is usually aligned with the minimum\nGo version required by the corresponding `k8s.io\u002F*` dependencies.\n\nCompatible `k8s.io\u002F*` versions, client-go versions, and minimum Go versions can be found in the `go.mod`\nfile scaffolded for each project for each [tag release](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Ftags).\n\n**Example:** For the `4.1.1` release, the minimum Go version compatibility is `1.22`.\nYou can refer to the samples in the testdata directory of the tag released [v4.1.1](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Ftree\u002Fv4.1.1\u002Ftestdata),\nsuch as the [go.mod](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Fblob\u002Fv4.1.1\u002Ftestdata\u002Fproject-v4\u002Fgo.mod#L3) file for `project-v4`. You can also check the versions of the tools supported and\ntested for this release by examining the [Makefile](https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fkubebuilder\u002Fblob\u002Fv4.1.1\u002Ftestdata\u002Fproject-v4\u002FMakefile#L160-L165).\n\n## Community Meetings\n\nThe following meetings happen biweekly:\n\n- Kubebuilder Meeting\n\nYou are more than welcome to attend. For further info join to [kubebuilder@googlegroups.com](https:\u002F\u002Fgroups.google.com\u002Fg\u002Fkubebuilder).\nEvery month, our team meets on the first Thursday at 11:00 PT (Pacific Time) to discuss our progress and plan for the upcoming weeks.\nPlease note that we have been syncing more frequently offline via Slack lately. However, if you add a topic to the agenda, we will hold the meeting as scheduled.\nAdditionally, we can use this channel to demonstrate new features.\n\n[operator-sdk]: https:\u002F\u002Fgithub.com\u002Foperator-framework\u002Foperator-sdk\n[plugin-section]: https:\u002F\u002Fbook.kubebuilder.io\u002Fplugins\u002Fplugins.html\n[controller-runtime]: https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fcontroller-runtime\n[your-own-plugins]: https:\u002F\u002Fbook.kubebuilder.io\u002Fplugins\u002Fextending\n[controller-tools]: https:\u002F\u002Fgithub.com\u002Fkubernetes-sigs\u002Fcontroller-tools\n","Kubebuilder 是一个用于构建 Kubernetes 自定义资源定义（CRD）API 的框架。它基于 Go 语言，旨在通过减少开发者需要处理的复杂性来加速 Kubernetes API 的开发与发布过程。Kubebuilder 提供了强大的库和工具集，支持插件架构，允许用户利用可选的帮助程序和特性来自定义其开发体验。此外，它还能够作为库被其他项目集成使用，例如 Operator-SDK 就是基于 Kubebuilder 构建的一个实例。该项目非常适合那些希望快速创建并维护自定义 Kubernetes 资源扩展的开发者或团队。",2,"2026-06-11 03:02:33","top_language"]