stolon/doc/commands/stolonctl.md
Simone Gotti 38ae6b13b5 *: add kubernetes store backend
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.
2018-02-23 13:33:50 +01:00

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

Auto generated by spf13/cobra on 23-Feb-2018