mirror of
https://github.com/sorintlab/stolon.git
synced 2024-10-04 19:48:38 +03:00
38ae6b13b5
This PR adds a new kubernetes store backend. See the related doc in `/doc/architecture.md` and the updated kubernetes example that will use this backend.
2.2 KiB
2.2 KiB
stolonctl
stolon command line client
Synopsis
stolon command line client
stolonctl [flags]
Options
--cluster-name string cluster name
-h, --help help for stolonctl
--kube-context string name of the kubeconfig context to use
--kube-namespace string name of the kubernetes namespace to use
--kube-resource-kind string the k8s resource kind to be used to store stolon clusterdata and do sentinel leader election (only "configmap" is currently supported)
--kubeconfig string path to kubeconfig file. Overrides $KUBECONFIG
--log-level string debug, info (default), warn or error (default "info")
--store-backend string store backend type (etcdv2/etcd, etcdv3, consul or kubernetes)
--store-ca-file string verify certificates of HTTPS-enabled store servers using this CA bundle
--store-cert-file string certificate file for client identification to the store
--store-endpoints string a comma-delimited list of store endpoints (use https scheme for tls communication) (defaults: http://127.0.0.1:2379 for etcd, http://127.0.0.1:8500 for consul)
--store-key string private key file for client identification to the store
--store-prefix string the store base prefix (default "stolon/cluster")
--store-skip-tls-verify skip store certificate verification (insecure!!!)
SEE ALSO
- stolonctl clusterdata - Retrieve the current cluster data
- stolonctl init - Initialize a new cluster
- stolonctl promote - Promotes a standby cluster to a primary cluster
- stolonctl removekeeper - Removes keeper from cluster data
- stolonctl spec - Retrieve the current cluster specification
- stolonctl status - Display the current cluster status
- stolonctl update - Update a cluster specification
- stolonctl version - Display the version