GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CrunchyData/postgres-operator-client

BranchesTags
Open more actions menu

Latest commit

 

History

182 Commits
182 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmd/kubectl-pgo
cmd/kubectl-pgo
 
 
docs
docs
 
 
hack
hack
 
 
internal
internal
 
 
testing
testing
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.golangci.yaml
.golangci.yaml
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
trivy.yaml
trivy.yaml
 
 

Repository files navigation

pgo, the Postgres Operator CLI from Crunchy Data

pgo: The CLI for the Postgres Operator from Crunchy Data

Welcome to the repository for pgo, the Command Line Interface (CLI) for the Crunchy Postgres Operator! Built as a kubectl plugin, the pgo CLI facilitates the creation and management of PostgreSQL clusters created using the Crunchy Postgres Operator. For more information about using the CLI and the various commands available, please see the pgo CLI documentation.

Install pgo

The following steps will allow you to download and install the pgo kubectl plugin in your local environment.

Prerequisites

Depending on your deployment type, Kubernetes or OpenShift, kubectl or oc must be installed and configured in your environment. For the purposes of these instructions we will be using the kubectl client. The pgo kubectl plugin will use the role-based access controls (RBAC) that are configured for your kubectl client.

Download the binary

The kubectl-pgo binary is available either through the Crunchy Data Access Portal or via GitHub.

Installing the Client

Once downloaded, move the kubectl-pgo binary to /usr/local/bin and make it executable by running the following commands:

sudo mv /PATH/TO/kubectl-pgo /usr/local/bin/kubectl-pgo
sudo chmod +x /usr/local/bin/kubectl-pgo

Checking the plugin install

Now that the kubectl-pgo binary is installed on your PATH, it can be used as a kubectl plugin. Run the following command to ensure that the plugin is working:

kubectl pgo version

or if running in OpenShift:

oc pgo version

Compatibility

The pgo CLI supports all actively maintained versions of PGO v5+.

More Information

For more about PGO, please see the PGO Documentation.

Testing the Client

The PGO client has several KUTTL tests that run through some common scenarios. In order to run these tests, we need a PGO operator or the equivalent running, i.e., make deploy-dev.

Note: the support export test requires a PGO operator running in the postgres-operator namespace.

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

15 stars

Watchers

7 watching

Forks

12 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.