pkg.soopen package index

brew / 排名 2460

使用 Homebrew, apk, Nix, zypper 安装 kubectl-cnpg

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kubectl-cnpg

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add kubectl-cnpg

Alpine Linux edge package indexes · kubectl-cnpg · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#kubectl-cnpg

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

openSUSE zypper已验证 · 92%
sudo zypper install kubectl-cnpg

openSUSE Tumbleweed package metadata · kubectl-cnpg · 来源: download.opensuse.org

概览

软件包摘要

CloudNativePG plugin for kubectl

命令和别名

  • kubectl-cnpg
  • kubectl_complete-cnpg

历史

项目历史与用法

kubectl-cnpg is the kubectl plugin shipped by the CloudNativePG project for managing PostgreSQL clusters on Kubernetes. The plugin is part of the main CloudNativePG repository rather than a separate utility repository.

项目历史

The CloudNativePG GitHub repository was created on 2022-03-10. The project describes CloudNativePG as a platform for managing PostgreSQL databases in Kubernetes across the operational lifecycle, and its repository topics include `kubectl-plugin`, `operator`, `postgresql`, and high-availability concepts.

The kubectl plugin became one of the operator's user-facing control surfaces: the official plugin documentation covers installation scripts, Debian and RPM packages, AUR, Krew, Homebrew, supported architectures, completion, and command usage.

采用历史

The plugin's adoption follows CloudNativePG adoption rather than an independent CLI culture. The package appears in Homebrew, APK, Nix, and zypper, and the official docs name Homebrew and Krew as supported install paths for workstation users.

The repository metadata observed on 2026-07-01 showed more than 8000 GitHub stars for CloudNativePG, which makes kubectl-cnpg a plugin attached to a prominent Kubernetes database operator rather than a tiny standalone addon.

使用方式

After installation, users run commands as `kubectl cnpg COMMAND [ARGS...]`. The official documentation emphasizes management tasks such as generating installation manifests and interacting with CloudNativePG-managed database clusters.

The plugin uses the normal kubectl configuration path through `~/.kube/config`, so it fits existing Kubernetes authentication and context workflows rather than defining a separate credentials store.

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

kubectl-cnpg is interesting as a packaged operator companion: the binary is distributed across OS package systems even though its value is tied to a cluster-side controller. It shows how serious Kubernetes operators often grow their own kubectl plugin for operational ergonomics.

时间线

  • 2022-03-10: CloudNativePG repository created.
  • 2025-05-08: CloudNativePG release v1.29.1 published.
  • 2026-06-29: CloudNativePG release v1.30.0 published, with plugin package examples in the documentation using v1.30.0 assets.

Related projects

  • Related projects include Kubernetes, kubectl, Krew, PostgreSQL, and the CloudNativePG operator. The package is not a general PostgreSQL client; it is an operational frontend for CloudNativePG resources.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

local files

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

Config paths the tool may read or write during local use.

Unix
~/.kube/config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kubectl-cnpg可执行文件已索引可执行文件从本地可执行文件索引发现。
kubectl_complete-cnpg可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.30.0
管理器更新时间2026-07-27
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:kubectl-cnpg
版本1.30.0
软件包管理器Homebrew
主页https://cloudnative-pg.io/
仓库https://github.com/cloudnative-pg/cloudnative-pg
最后更新2026-07-27T21:58:44+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Nix95%

kubectl-cnpg

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

kubectl-cnpg 1.30.0-r1

kubectl plugin for cloudnative-pg

https://github.com/cloudnative-pg/cloudnative-pg

sudo apk add kubectl-cnpg
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: kubectl-cnpg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kubectl Cnpg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kubectl-cnpg from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
zypper95%

kubectl-cnpg 1.29.2-1.3

Manage PostgreSQL clusters built using CloudNativePG

https://github.com/cloudnative-pg/cloudnative-pg

sudo zypper install kubectl-cnpg
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: kubectl-cnpg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kubectl Cnpg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubectl-cnpg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

kubectl-cnpg-bash-completion 1.29.2-1.3

Bash Completion for kubectl-cnpg

https://github.com/cloudnative-pg/cloudnative-pg

sudo zypper install kubectl-cnpg-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: kubectl-cnpg
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kubectl Cnpg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubectl-cnpg-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

kubectl-cnpg-fish-completion 1.29.2-1.3

Fish Completion for kubectl-cnpg

https://github.com/cloudnative-pg/cloudnative-pg

sudo zypper install kubectl-cnpg-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: kubectl-cnpg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kubectl Cnpg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubectl-cnpg-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

kubectl-cnpg-zsh-completion 1.29.2-1.3

Zsh Completion for kubectl-cnpg

https://github.com/cloudnative-pg/cloudnative-pg

sudo zypper install kubectl-cnpg-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: kubectl-cnpg
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kubectl Cnpg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubectl-cnpg-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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