ipfs-cluster-service is the application that runs the IPFS Cluster peer.
Usage, version information and a description can be obtained with:
$ ipfs-cluster-service --help
ipfs-cluster-service for the first time, initialize a configuration file with:
$ ipfs-cluster-service init
init will randomly generate a
secret (unless specified by the
CLUSTER_SECRET environment variable or running with
--custom-secret, which will prompt it interactively).
All peers in a cluster must share the same cluster secret. Using an empty secret may compromise the security of your cluster.
You can specify a different configuration folder with the
Please check the Configuration section for more details about the IPFS Cluster configuration.
You can start the peer by running
ipfs-cluster-service daemon. Make sure to read the Starting the Cluster section for instructions on how to start a full cluster correctly, specially during the first boot.
ipfs-cluster-service state subcommands offers access to utilities to
upgrade and check the
version of the cluster state. For more information see the Upgrades section.
ipfs-cluster-service offers two debugging options:
--debugenables debug logging from the
go-libp2p-rpclayers. This will be a very verbose log output, but at the same time it is the most informative.
--loglevelsets the log level (
[error, warning, info, debug]) for the
ipfs-clusteronly, allowing to get an overview of the what cluster is doing. The default log-level is