Skip to content

Commit cb3360f

Browse files
committed
restore configuration, compress images, chown -> chmod
1 parent e803a38 commit cb3360f

File tree

6 files changed

+67
-14
lines changed

6 files changed

+67
-14
lines changed

hugo/content/_index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2018-04-23T14:52:09-07:00
44
draft: false
55
---
66

7-
image::crunchy_logo.png[Crunchy Data Logo,width="12%",height="12%", align="center"]
7+
image::crunchy-logo.jpg[Crunchy Data Logo,width="12%",height="12%", align="center"]
88

99
Latest Release: 3.2.0 {docdate}
1010

hugo/content/installation/configuration.adoc

Lines changed: 65 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ permissions -
186186
|DeleteUpgrade | allow *pgo delete upgrade*
187187
|CreateUser | allow *pgo create user*
188188
|CreateFailover| allow *pgo failover*
189+
|ShowConfig | allow *pgo show config*
189190
|User | allow *pgo user*
190191
|Version | allow *pgo version*
191192
|======================
@@ -469,39 +470,91 @@ su - $USER
469470
Because the *apiserver* implements a REST API, it is possible to integrate with it using your own
470471
application code. To demonstrate this, the following *curl* commands show the API usage -
471472

473+
Note: Some setups may require the user to add '?version=x.x' to the end of the commands.
474+
472475
*pgo version*
473476
....
474477
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/version
475478
....
476479

477-
*pgo show policy all*
480+
*pgo show policy <name>*
481+
....
482+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/policies/<name>
483+
....
484+
485+
*pgo delete policy <name>*
486+
....
487+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/policiesdelete/<name>
488+
....
489+
490+
*pgo show pvc <name>*
491+
....
492+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/pvc/<name>
493+
....
494+
495+
*pgo apply policy <name>*
496+
....
497+
curl -v -X POST -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/policies/apply/<name>
498+
....
499+
500+
*pgo show ingest <name>*
501+
....
502+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/ingest/<name>
503+
....
504+
505+
*pgo label*
506+
....
507+
curl -v -X POST -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/label
508+
....
509+
510+
*pgo load*
511+
....
512+
curl -v -X POST -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/load
513+
....
514+
515+
*pgo user*
516+
....
517+
curl -v -X POST -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/user
518+
....
519+
520+
*pgo users <name>*
521+
....
522+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/users/<name>
523+
....
524+
525+
*pgo delete user <name>*
526+
....
527+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/usersdelete/<name>
528+
....
529+
530+
*pgo show upgrade <name>*
478531
....
479-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/policies/all
532+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/upgrades/<name>
480533
....
481534

482-
*pgo show pvc danger*
535+
*pgo delete upgrade <name>*
483536
....
484-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/pvc/danger
537+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/upgradesdelete/<name>
485538
....
486539

487-
*pgo show cluster mycluster*
540+
*pgo show cluster <name>*
488541
....
489-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clusters/mycluster
542+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clusters/<name>
490543
....
491544

492-
*pgo show upgrade mycluster*
545+
*pgo delete cluster*
493546
....
494-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/upgrades/mycluster
547+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clustersdelete/<name>
495548
....
496549

497-
*pgo test mycluster*
550+
*pgo test <name>*
498551
....
499-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clusters/test/mycluster
552+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clusters/test/<name>
500553
....
501554

502-
*pgo show backup mycluster*
555+
*pgo scale <name>*
503556
....
504-
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/backups/mycluster
557+
curl -v -X GET -u readonlyuser:testpass -H "Content-Type: application/json" --insecure https://10.101.155.218:8443/clusters/scale/<name>
505558
....
506559

507560
== Deploying pgPool

hugo/content/installation/manual-installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ link:/installation/configuration/#_storage_configuration[here].
8989
The default Persistent Volume script assumes a default HostPath directory be created called */data*:
9090
....
9191
sudo mkdir /data
92-
sudo chown 777 /data
92+
sudo chmod 777 /data
9393
....
9494

9595
Create some sample Persistent Volumes using the following script:

hugo/static/crunchy-logo.jpg

98 KB
Loading

hugo/static/crunchy_logo.png

-394 KB
Binary file not shown.
-181 KB
Loading

0 commit comments

Comments
 (0)