Filecoin
Kotal uses only lotus
client for Filecoin nodes, that's why there's no .spec.client
option.
Syntax | Type | Description | Default |
---|---|---|---|
string | network to join and sync | ||
boolean | enables API server | false | |
number | API server listening port | 1234 | |
string | API server host | 0.0.0.0 | |
number | API request timeout in seconds | 30 | |
boolean | disables metadata logging | false | |
string | p2p port | 4444 | |
string | p2p host | 0.0.0.0 | |
string | ipfs peer endpoint | ||
boolean | ipfs online mode | false | |
boolean | use ipfs for retrieval | false | |
object | node compute and storage resources to alloacte |
network
network
is the network this node should join and sync its blockchain data.
network
possible values are mainnet
, and calibration
.
butterfly
and nerpa
networks have been deprecated 🥺
api
api
enables API server.
apiPort
apiPort
is API server listening port.
apiHost
apiHost
is API server host.
apiRequestTimeout
apiRequestTimeout
is API request timeout in seconds.
disableMetadataLog
disableMetadataLog
disables metadata logging.
p2pPort
p2pPort
is p2p port.
p2pHost
p2pHost
is p2p host.
ipfsPeerEndpoint
ipfsPeerEndpoint
ipfs peer endpoint.
ipfsOnlineMode
ipfsOnlineMode
sets sets ipfs online mode.
ipfsForRetrieval
ipfsForRetrieval
uses ipfs for retrieval.
resources
resources
allocates compute and storage resources to the node.
Syntax | Type | Description | Default |
---|---|---|---|
cpu | string | number of cpu cores this node requires |
|
cpuLimit | string | number of cpu cores this node is limited to |
|
memory | string | memory this node requires |
|
memoryLimit | string | memory this node is limited to |
|
storage | string | disk space this node requires |
|
storageClass | string | Node volume storage class | Cluster's default storage class will be used as defined by cluster admin or cloud provider |
memory and storage requests and limits must use the pattern ^[1-9][0-9]*[KMGTPE]i$
for example 1500Mi
, 30Gi
, and 1Ti
.
cpu requests and limits must use the pattern ^[1-9][0-9]*m?$
for example 1000m
(which is equal to 1
), 1500m
, 2
, and 4.
cpuLimit
can't be less than cpu
.
memoryLimit
can't be less than or equal to memory
.
storageClass
field is immutable, it cannot be changed after creation.
Last updated