macOS
brew install kubectl-cnpglocal Homebrew formula metadata
brew
CloudNativePG plugin for kubectl. Version 1.30.0 via Homebrew; verified 2026-06-29.
install
brew install kubectl-cnpglocal Homebrew formula metadata
sudo apk add kubectl-cnpgAlpine Linux edge package indexes · kubectl-cnpg · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#kubectl-cnpgnixpkgs package indexes · pkgs/by-name/ku/kubectl-cnpg/package.nix · source: api.github.com
sudo zypper install kubectl-cnpgopenSUSE Tumbleweed package metadata · kubectl-cnpg · source: download.opensuse.org
overview
CloudNativePG plugin for kubectl
history
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.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.kube/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kubectl-cnpg | cli | global executable | |
kubectl_complete-cnpg | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/cloudnative-pg/cloudnative-pg
install metadata
| Package key | brew:kubectl-cnpg |
|---|---|
| Version | 1.30.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kubectl-cnpg |
| Homepage | https://cloudnative-pg.io/ |
| Repository | https://github.com/cloudnative-pg/cloudnative-pg |
| Upstream docs | https://cloudnative-pg.io/docs/devel/kubectl-plugin |
| License | Apache-2.0 |
| Source archive | https://github.com/cloudnative-pg/cloudnative-pg.git |
| Last updated | 2026-06-29T18:38:45Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubectl-cnpg |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
kubectl-cnpg
nix profile install nixpkgs#kubectl-cnpgkubectl-cnpg 1.29.0-r2
kubectl plugin for cloudnative-pg
https://github.com/cloudnative-pg/cloudnative-pg
sudo apk add kubectl-cnpgkubectl-cnpg 1.29.1-1.1
Manage PostgreSQL clusters built using CloudNativePG
https://github.com/cloudnative-pg/cloudnative-pg
sudo zypper install kubectl-cnpgkubectl-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-completionkubectl-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-completionkubectl-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-completionsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.