| Crates.io | kubegen |
| lib.rs | kubegen |
| version | 0.1.0 |
| created_at | 2026-01-22 11:12:10.117262+00 |
| updated_at | 2026-01-22 11:12:10.117262+00 |
| description | A CLI tool for scaffolding Kubernetes operators in Rust using kube-rs |
| homepage | |
| repository | https://github.com/bobbyiliev/kubegen-cli |
| max_upload_size | |
| id | 2061371 |
| size | 433,097 |
kubegen is a Rust based CLI for scaffolding Kubernetes operators using kube-rs.
Think Kubebuilder, but for Rust.
Early development. APIs and templates may change.
cargo install kubegen
brew tap bobbyiliev/kubegen
brew install kubegen
Download the latest release for your platform from the releases page.
Linux (x86_64)
curl -LO https://github.com/bobbyiliev/kubegen-cli/releases/latest/download/kubegen-x86_64-unknown-linux-gnu.tar.gz
tar xzf kubegen-x86_64-unknown-linux-gnu.tar.gz
sudo mv kubegen /usr/local/bin/
macOS (Apple Silicon)
curl -LO https://github.com/bobbyiliev/kubegen-cli/releases/latest/download/kubegen-aarch64-apple-darwin.tar.gz
tar xzf kubegen-aarch64-apple-darwin.tar.gz
sudo mv kubegen /usr/local/bin/
macOS (Intel)
curl -LO https://github.com/bobbyiliev/kubegen-cli/releases/latest/download/kubegen-x86_64-apple-darwin.tar.gz
tar xzf kubegen-x86_64-apple-darwin.tar.gz
sudo mv kubegen /usr/local/bin/
Windows
Download kubegen-x86_64-pc-windows-msvc.zip from the releases page and add to your PATH.
git clone https://github.com/bobbyiliev/kubegen-cli.git
cd kubegen-cli
cargo build --release
# Binary will be at target/release/kubegen
kubegen new my-operator
kubegen add crd MyResource
kubegen add metrics
kubegen add webhook MyResource
Focused and atomic PRs only.
Every feature should include:
See CONTRIBUTING.md for details.