Automic VaultAutomic Vault

brew

kubectl-cnpg を Homebrew, apk, Nix, zypper でインストール

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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-cnpgcliグローバル実行可能ファイル
kubectl_complete-cnpgcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.30.0
マネージャ更新日2026-06-29
ローカルデータOK
上流not checked
検出された最新未検出

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:kubectl-cnpg
バージョン1.30.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/kubectl-cnpg
ホームページhttps://cloudnative-pg.io/
リポジトリhttps://github.com/cloudnative-pg/cloudnative-pg
上流ドキュメントhttps://cloudnative-pg.io/docs/devel/kubectl-plugin
ライセンスApache-2.0
ソースアーカイブhttps://github.com/cloudnative-pg/cloudnative-pg.git
最終更新2026-06-29T18:38:45Z
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 Namekubectl-cnpg
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%

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.29.0-r2

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.1-1.1

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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

kubectl-cnpg-bash-completion 1.29.1-1.1

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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

kubectl-cnpg-fish-completion 1.29.1-1.1

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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

kubectl-cnpg-zsh-completion 1.29.1-1.1

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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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