mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 02:54:59 +00:00
Update cheatsheets
This commit is contained in:
25
stolonctl
Normal file
25
stolonctl
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# stolonctl
|
||||
|
||||
> CLI for Stolon, a cloud native PostgreSQL manager for PostgreSQL high availability.
|
||||
> More information: <https://github.com/sorintlab/stolon>.
|
||||
|
||||
- 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}}'`
|
||||
Reference in New Issue
Block a user