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