Forked from https://github.com/openworklabs/filecoin-chart
Filecoin Miner chart is a helm chart for hosting Lotus Node clients, miners and workers. Lotus is an implementation of the Filecoin spec.
- Deploy one or more instances of Lotus client nodes.
- Expose Lotus node API's through HTTP endpoints.
- Enable importing chain data for faster syncs.
- Provide flexible configuration options to suit your needs.
- Deploy one or more Lotus miner instances
- Deploy one or more Lotus workers, split by Precommit1 and Precommit1/Commit1/Commit2 phases
For monitoring and graphing, see filecoin-k8s. For customizing the Lotus Docker configuration, see filecoin-docker.
This has only been tested on packet.net using the following machines types
Current iteration also assumes rook-ceph installation with RBD and CephFS storageclasses.
By default, a Lotus node running inside a Kubernetes cluster is not exposed to the public. The NGINX Ingress Controller is one configuration option that, when enabled, can expose your Lotus node via an HTTP endpoint.
For more details on installation, see NGINX Installation Guide.
Note - NGINX Ingress Controller is different from NGINX Kubernetes Ingress Controller (which we are not using).
Istio is an alternative option for exposing your Lotus node to the public (instead of NGINX Ingress Controller). Istio comes with a number of additional features that make authorization, authentication, and managing microservices easier.
For more information on installation and usage, see getting started with Istio.
Certbot for handling certs and enabling HTTPS.
The chart can be installed (and upgraded) via helm. To install the chart with the with the namespace filecoin
, run these commands:
Clone this repository:
git clone https://github.com/openworklabs/filecoin-chart
cd filecoin-chart
Create a new filecoin
namespace:
kubectl create ns filecoin
Deploy a new stateful set node01
to the filecoin
namespace:
helm upgrade --install --namespace filecoin -f values.yaml node01 .
The values file contains all the configuration options.
Coming soon
This project is licensed under the Apache 2.0 license.