mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:26:03 +02:00
stolonctl: add page (#2505)
This commit is contained in:
parent
f373e28441
commit
a365369bad
1 changed files with 19 additions and 0 deletions
19
pages/common/stolonctl.md
Normal file
19
pages/common/stolonctl.md
Normal 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}}'`
|
Loading…
Add table
Reference in a new issue