Deploy Filecoin Node
Deploy Node
apiVersion: filecoin.kotal.io/v1alpha1
kind: Node
metadata:
name: calibration-node
spec:
network: calibration
This is a simple filecoin Node
that joins calibration test network.
Let's deploy the node:
kubectl apply -f calibration.yaml
Kotal operator will notice your calibration-node
and will create all the necessary pods, persistent volumes, services, configmaps, and secrets.
kubectl get peers
It will return an output similar to the following:
NAME NETWORK CLIENT
calibration-node calibration lotus
Fetch Node Logs
Get the pods created for the node:
kubectl get pods
It will return an output similar to the following:
NAME READY STATUS RESTARTS AGE
calibration-node-0 1/1 Running 0 5m
Check the logs of the running node:
kubectl logs -f calibration-node-0
Finally you can delete the filecoin node and all its resources by
kubectl delete -f calibration.yaml
and kubernetes garbage collector will delete all resources created by the node controller.
Last updated
Was this helpful?