kubectl-cnpg

kubectl plugin for CloudNativePG Kubernetes operator management

brewmacoslinux
Try with needOr install directly
Source

About

CloudNativePG plugin for kubectl

Commands

kubectl-cnpg

Examples

Display cluster status and information$ kubectl cnpg status my-cluster -n postgres
List all CloudNativePG clusters in a namespace$ kubectl cnpg cluster list -n postgres
Promote a replica to primary in a cluster$ kubectl cnpg promote my-cluster -n postgres