Skip to content

Commit d42c6d1

Browse files
author
Jeff McCormick
committed
update docs
1 parent 1c116c0 commit d42c6d1

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

README.asciidoc

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,16 @@ are documented in detail in link:docs/strategies.asciidoc[Deployment Strategies]
5858
* link:https://hub.docker.com/r/crunchydata/crunchy-upgrade/[PostgreSQL Upgrade Container]
5959
* For OpenShift deployments, Openshift Origin 1.5.1+ or Openshift Container Platform 3.5
6060

61-
[#Build and Setup Instructions]
62-
== Build and Setup Instructions
61+
[#Build and Install Instructions]
62+
== Build and Install Instructions
6363

64-
You deploy the Postgres Operator to your Kube cluster by running the following command:
65-
....
66-
make deploy
67-
....
64+
To build and deploy the Operator on your Kube system, follow
65+
the instructions documented on the link:docs/build.asciidoc[Build and Install] page.
6866

6967
With the operator deployed, the *pgo* command line
7068
interface can execute commands that the *postgres-operator* understands
7169
and reacts to.
7270

73-
You can download a pre-built *pgo* CLI binary from
74-
the link:https://github.com/CrunchyData/postgres-operator/releases[Releases] page on the github repository or build
75-
it yourself using the build instructions, documented on the link:docs/build.asciidoc[Build and Setup] page.
76-
7771
[#Configuration]
7872
== Configuration
7973

docs/build.asciidoc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ sudo chmod +r /etc/kubernetes/admin.conf
5757
Once you have your Kube VM created, install some of the
5858
required dependencies:
5959
....
60-
yum -y install git
60+
yum -y install git gettext
6161
....
6262

6363
*NOTE* - as of Kube 1.6, RBAC security is enabled on most Kube
@@ -239,6 +239,19 @@ kubectl get pod -l 'name=postgres-operator'
239239
kubectl get thirdpartyresources
240240
....
241241

242+
You can also deploy the operator by running the following command:
243+
....
244+
make deploy
245+
....
246+
247+
There are example scripts that will create PV and PVC resources
248+
that can be used in your testing. See the following scripts:
249+
....
250+
examples/operator/create-pv-nfs.sh
251+
examples/operator/create-pv.sh
252+
kubectl create -f examples/operator/crunchy-pvc.json
253+
....
254+
242255
Note that this example will create a PVC called *crunchy-pvc* that is
243256
referenced in the examples and *pgo* configuration file as the
244257
desired PVC to use when databases and clusters are created.

0 commit comments

Comments
 (0)