# 使用 Homebrew, Nix, zypper 安装 kubectl-rook-ceph

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

## 安装

```sh
sudo av install brew:kubectl-rook-ceph
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubectl-rook-ceph
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubectl-rook-ceph
```

  证据: nixpkgs package indexes: pkgs/by-name/ku/kubectl-rook-ceph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install kubectl-rook-ceph
```

  证据: openSUSE Tumbleweed package metadata: kubectl-rook-ceph from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:kubectl-rook-ceph
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kubectl-rook-ceph>
- **版本:** 0.9.6
- **来源摘要:** Rook plugin for Ceph management
- **主页:** <https://rook.io/>
- **仓库:** <https://github.com/rook/kubectl-rook-ceph>
- **上游文档:** <https://rook.io/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/rook/kubectl-rook-ceph/archive/refs/tags/v0.9.6.tar.gz>
- **最后更新:** 2026-07-27T21:58:44+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- kubectl-rook_ceph (cli)
- kubectl-rook_ceph (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.6
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/rook/kubectl-rook-ceph
- 检测到的最新版本: v0.9.6 (当前)
## 项目历史与用法

kubectl-rook-ceph is the Rook project's kubectl plugin for common Rook Ceph management and troubleshooting tasks. It exposes Ceph commands, health checks, operator actions, maintenance flows, and cleanup commands through `kubectl rook-ceph`.

### 项目历史

The standalone plugin repository was created on 2021-09-16 under the Rook organization. Its README describes it as a Krew plugin for the Rook Ceph storage provider, while the Rook documentation frames it as a troubleshooting tool for Rook clusters.

The plugin evolved as an operational shell around Rook Ceph: it can run Ceph, RADOS, RBD, and RGW admin commands, print monitor endpoints, restart the operator, purge OSDs, run maintenance flows, and help with disaster-recovery and cleanup cases.

### 采用历史

Adoption follows Rook Ceph operators rather than the broader Kubernetes user base. The plugin is distributed through Krew, Homebrew, Nix, and zypper, making it convenient for administrators who already manage clusters from a workstation.

The repository metadata observed on 2026-07-01 showed roughly 100 GitHub stars, but its practical significance is larger than that number suggests because it is tied to a CNCF storage project and documented from the official Rook troubleshooting pages.

### 使用方式

Users run commands as `kubectl rook-ceph <root-args> <command> <command-args>`, usually against a namespace that contains a Rook Ceph cluster. The official docs emphasize checking Rook pod health, checking Ceph health, creating debug pods, restarting the operator, purging OSDs, and running arbitrary Ceph commands.

Because the plugin operates through kubectl contexts and namespaces, its credentials story is inherited from Kubernetes kubeconfig rather than from a separate Ceph credential file.

### 为什么软件包爱好者会关心

kubectl-rook-ceph is a good example of a package that packages operational tribal knowledge. Instead of asking admins to remember pod exec incantations and Ceph toolbox workflows, it turns Rook-specific routines into a versioned kubectl plugin.

### 时间线

- 2021-09-16: GitHub repository created.
- 2024-09-17: Release v0.9.2 published.
- 2024-12-18: Release v0.9.3 published.
- 2025-05-06: Release v0.9.4 published.
- 2026-03-31: Release v0.9.6 published.

### Related projects

- Related projects include Rook, Ceph, kubectl, Krew, RADOS, RBD, and RGW. The plugin is specifically about Rook-managed Ceph clusters, not generic Kubernetes storage.

### 来源

- <https://api.github.com/repos/rook/kubectl-rook-ceph>
- <https://formulae.brew.sh/formula/kubectl-rook-ceph>
- <https://github.com/rook/kubectl-rook-ceph>
- <https://github.com/rook/kubectl-rook-ceph#readme>
- <https://krew.sigs.k8s.io/docs/user-guide/setup/install/>
- <https://rook.io/docs/rook/latest/Troubleshooting/kubectl-plugin>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.kube/config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kubectl-rook-ceph
- **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:** head, stable

## 其他软件包管理器记录

- Nix - kubectl-rook-ceph: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubectl-rook-ceph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - kubectl-rook-ceph - 0.9.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-rook-ceph from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Management and troubleshooting tools for the Rook Ceph storage provider | https://github.com/rook/kubectl-rook-ceph


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [kubectl-cnpg](https://pkg.so/zh-hans/brew/kubectl-cnpg/) - Shares pkgdb curated category or tags: cli, developer-tools, kubectl-plugin, kubernetes.
- [kubectl-tree](https://pkg.so/zh-hans/brew/kubectl-tree/) - Shares pkgdb curated category or tags: cli, developer-tools, kubectl-plugin, kubernetes.
- [kubecolor](https://pkg.so/zh-hans/brew/kubecolor/) - Shares pkgdb curated category or tags: cli, developer-tools, kubectl-plugin, kubernetes.
- [kubeconform](https://pkg.so/zh-hans/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [minikube](https://pkg.so/zh-hans/brew/minikube/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kind](https://pkg.so/zh-hans/brew/kind/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubectx](https://pkg.so/zh-hans/brew/kubectx/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubelogin](https://pkg.so/zh-hans/brew/kubelogin/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubectl-explore](https://pkg.so/zh-hans/brew/kubectl-explore/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, kubectl, kubectl-plugin.

## Combined YAML source

View the package source record on GitHub. [combined/kubectl-rook-ceph.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kubectl-rook-ceph.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
