$ which pgo
/usr/local/bin/pgo
$ pgo create cluster my-service
ERRO[0000] --kubeconfig flag is not set and required
$ pgo
The pgo command line interface lets you
create and manage PostgreSQL clusters.
Usage:
pgo [command]
Available Commands:
apply apply a Policy
backup perform a Backup
clone perform a clone
create Create a Cluster or Policy
delete Delete a policy, database, cluster, backup, or upgrade
scale Scale a Cluster
show show a description of a cluster
test test a Cluster
upgrade perform an upgrade
Flags:
--config string config file (default is $HOME/.pgo.yaml)
--debug enable debug with true
--kubeconfig string kube config file
--namespace string kube namespace to work in (default is default)
--selector string label selector string
-t, --toggle Help message for toggle
Use "pgo [command] --help" for more information about a command.
$ ls ~/.kube/config
/Users/jar349/.kube/config
$ pgo --kubeconfig ~/.kube/config create cluster my-service
ERRO[0000] --namespace flag is not set and required
$ pgo --kubeconfig ~/.kube/config --namespace default create cluster my-service
ERRO[0000] invalid MASTER_STORAGE.PVC_ACCESS_MODE specified
My thought was I'd just be able to type out the commands the way that you do in your documentation. The documentation says "You can configure both the client and the operator" but the truth is (unless I've made another mistake which is entirely possible) you MUST configure the cli before one can follow along with your documentation.
I recommend clarifying that.