Initialize a new cluster
Initialize a new cluster
stolonctl init [flags]
-f, --file string file contaning the new cluster spec
-h, --help help for init
-y, --yes don't ask for confirmation
--cluster-name string cluster name
--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")
--metrics-listen-address string metrics listen address i.e "0.0.0.0:8080" (disabled by default)
--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!!!)
--store-timeout duration store request timeout (default 5s)
- stolonctl - stolon command line client