1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:06:00 +02:00

stolonctl: add page (#2505)

This commit is contained in:
Vidhi Gupta 2018-11-01 18:05:04 +05:30 committed by Starbeamrainbowlabs
parent f373e28441
commit a365369bad

19
pages/common/stolonctl.md Normal file
View file

@ -0,0 +1,19 @@
# Stolon
> A cloud native PostgreSQL manager for PostgreSQL high availability.
- Get cluster status:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} status`
- Get cluster data:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} clusterdata`
- Get cluster specification:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} spec`
- Update cluster specification with a patch in json format:
`stolonctl --cluster-name {{cluster_name}} --store-backend {{store_backend}} --store-endpoints {{store_endpoints}} update --patch '{{cluster_spec}}'`