Ethereum
Last updated
Last updated
Syntax | Type | Description | Default |
---|---|---|---|
network
is the public network name to join, like rinkeby
.
network
can't be provided in private networks, where .spec.genesis
is not null.
network
can't be updated (immutable).
highlyAvailable
controls if Ethereum nodes will be scheduled on different Kubernetes nodes.
topologyKey
is Kubernetes node label key used to distribute ethereum nodes pods on different kubernetes nodes.
bootnodes
is ethereum node URLs for p2p network discovery and bootstraping.
bootnodes
accepts ethereum node URL enodeURL
or a reference to kotal Node
in the form of name.namespace
where namespace is optional if referenced node is in the same namespace.
Ethereum clients have hardcoded bootnodes for public main and test networks. bootnodes
will override these bootnodes.
Support for OpenEthereum (parity) client has been deprecated. OpenEthereum team is working with Erigon on a smooth transition path for users. More information can be found here
client
is the Ethereum client name powering the node.
client
possible values are besu
, geth
, nethermind
.
Only besu
client can be used if network consensus is ibft2
.
Only besu
can be used in fixed difficulty proof of work networks, where spec.genesis.ethash.fixedDifficulty
is not null.
coinbase
is ethereum account to which mining rewards are paid.
coinbase
is required if the node is mining miner: true
.
corsDomains
is a list of domains from which to accept cross-origin requests (browser enforced).
Default value *
will be used if HTTP RPC server is enabled rpc: true
or web socket server is enabled ws: true
or graphQL server is enabled graphql: true
.
graphql
enables the GraphQL server.
Nethermind client doesn't support GraphQL.
Geth (Go-Ethereum) GraphQL server can be used only if RPC is enabled as of geth v1.9.19 release notes
graphqlPort
GraphQL server listening port.
The default value 8547
will be used if the graphQL server is enabled graphql: true
.
hosts
is a list of host names to whitelist for RPC access (server enforced).
import
is the ethereum account to import. Only for nodes running with geth
or nethermind
.
During account creation, it will be encrypted with the password, and during import it will be unlocked using the same password.
Nodes that import accounts can't enable HTTP RPC server, web socket server, or GraphQL server to prevent funds drainage if exposed to the internet.
Account must be imported if the node is running with geth
or nethermind
clients wants to be a signer or miner.
logging
is Ethereum node logging verbosity level.
logging
possible values are off
, fatal
, error
, warn
, debug
, info
, trace
and all
.
Different clients support different logging vrbosity levels as shown in the following table:
miner
enables node mining or signing blocks.
nodePrivateKeySecretName
is the node private key.
nodePrivateKeySecretName
is required if the node is a boot node bootnode: true
, or if besu node with client: besu
is a signer in proof of authority clique network or validator in ibft2 network.
p2pPort
is node p2p port for communication (TCP) and discovery (UDP).
resources
allocates compute and storage resources to the node.
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.
rpc
enables the HTTP RPC server.
rpcPort
is the HTTP RPC server listening port.
Default value 8545
will be used if the HTTP RPC server is enabled with rpc: true
.
rpcAPI
is a list of RPC services to enable.
Default value ["web3", "eth", "net]
will be used if HTTP RPC server is enabeld with rpc: true
.
staticNodes
is a set of trusted ethereum nodes to maintain connection to.
Static nodes are exempt from maximum peer and remote connection limits. Ethereum clients periodically initiating a connection to any unconnected static node.
staticNodes
accepts ethereum node URL enodeURL
or a reference to kotal Node
in the form of name.namespace
where namespace is optional if referenced node is in the same namespace.
Nethermind client removed support for beam sync which was activated by syncMode: light
.
syncMode
is Blockchain synchronization mode.
syncMode
possible values are light
, full
, snap
or fast
.
light
and snap
sync modes are only supported by go-ethereum client.
ws
enables the web socket server.
wsPort
is the web socket server listening port.
The default value 8546
is used if the web socket server is enabled with ws: true
.
wsAPI
is a list of rpc services to enable.
the default value ["web3", "eth", "net]
will be used if the web socket server is enabeld with ws: true
.
genesis
is the genesis block configuration.
Genesis block configuration genesis
is required in private networks.
chainId
is the chain id value used in transaction signature to prevent transactions reply eip155
chainId
is required.
chainId
can't reuse existing public network chain id to avoid transaction replay.
id
is the network id used for p2p communications between network nodes in private networks.
id
is required in private networks.
id
can't be provided while joining a public network.
id
can't be updated (immutable).
coinbase
is the beneficiary (ethereum address) of mining reward.
coinbase
is optional.
difficulty
is the difficulty of the genesis block.
difficulty
is optional.
mixHash
is combined with the nonce to prove the effort spent to create a block.
mixHash
is optional.
gasLimit
is the total gas limit for all transactions in a block.
gasLimit
is optional.
nonce
is a random number used in block computation.
nonce
is optional.
timestamp
is block creation date.
timestamp
is optional.
forks
is an object, where the key is fork name and the value is the block number at which to activate this fork.
forks
is optional.
if forks
is missing, all forks will be activated at block 0 (genesis block) except DAO.
Later forks like muirglacier
can't be activated before earlier forks like homestead
. They must be ordered as in the following table:
accounts
is an array of accounts to fund or store code.
accounts
is optional.
accounts
is recommended for networks where signers or validators are not rewarded with eth.
a single account has no defaults.
ethash
is Proof of Work consensus engine configuration.
ethash
is optional.
ethash
can be set only in proof of work private networks.
ethash.fixedDifficulty
has no default value.
ethash.fixedDifficulty
is only supported by Hyperledger Besu Client client: besu
clique
is Proof of Authority clique consensus engine configuration.
clique
is optional.
clique
can be set only in proof of authority clique private networks.
At least one signer in clique.signers
is required.
ibft2
is IBFT2 engine configuration.
ibft2
is optional.
ibft2
can be set only in IBFT2 private networks.
At least one validator in ibft2.validators
is required.
Syntax | Type | Description |
---|---|---|
Logging/Client | Hyperledger Besu | Go Ethereum | Nethermind |
---|---|---|---|
Syntax | Type | Description | Default |
---|---|---|---|
Syntax | Type | Description | Default |
---|---|---|---|
Network | Chain id |
---|---|
Syntax | Type | Description |
---|---|---|
Syntax | Type | Description |
---|---|---|
Syntax | Type | Description | Default |
---|---|---|---|
Syntax | Type | Description | Default |
---|---|---|---|
Syntax | Type | Description | Default |
---|---|---|---|
string
Public network name to join, like mainnet
, rinkeby
, and goerli
boolean
Ethereum nodes will be scheduled on different kubernetes nodes
false
string
kubernetes node label key used to distribute ethereum nodes
topology.kubernetes.io/zone
object
Genesis block configuration
array
ethereum node URLs for p2p discovery bootstrap
string
ethereum client powering the node
string
ethereum account to which mining rewards are paid
array
domains from which to accept cross origin requests (browser enforced)
*
boolean
enable GraphQL server
false
number
GraphQL server listening port
8547
array
hostnames to whitelist for RPC access (server enforced)
*
object
ethereum account to import for geth
node
string
node logging verbosity level
info
boolean
node is mining or signing blocks ?
false
string
name of kubernetes secret holding node private key
string
node p2p port
30303
object
node compute and storage resources to alloacte
boolean
enable HTTP RPC server
false
number
HTTP RPC server listening port
8545
array
services to enable
web3
, eth
, and net
array
set of trusted ethereum nodes to maintain connection to
string
blockchain synchronization mode
fast
in public, full
in private
boolean
enable web socket server
false
number
web socket server listening port
8546
array
services to enable
web3
, eth
, and net
privateKeySecretName
string
name of the k8s secret holding account private key in hexadecimal (without 0x) in data field called key
passwordSecretName
string
name of the k8s secret holding encryption secret in data field called password
off
✔️
✔️
❌
fatal
✔️
❌
❌
error
✔️
✔️
✔️
warn
✔️
✔️
✔️
debug
✔️
✔️
✔️
info
✔️
✔️
✔️
trace
✔️
❌
✔️
all
✔️
✔️
❌
cpu
string
number of cpu cores this node requires
2
in private, 4
in public
cpuLimit
string
number of cpu cores this node is limited to
3
in private, 6
in public
memory
string
memory this node requires
4Gi
in private, 8Gi
in public
memoryLimit
string
memory this node is limited to
8Gi
in private, 16Gi
in public
storage
string
disk space this node requires
100Gi
in private, 6Ti
in mainnet with full sync, 750Gi
in mainnet wit fast sync, 25Gi
in public test networks
storageClass
string
Node volume storage class
Cluster's default storage class will be used as defined by cluster admin or cloud provider
number
used in transaction signature to prevent transactions reply eip155
number
used in network p2p communications
string
benefeciary (ethereum address) of mining reward
address(0)
string
difficulty (hexadecimal number) of the genesis block
0x1
string
hash (hexadecimal) combined with nonce to prove effort spent to create block
0x00..00
string
total gas limit (hexadecimal number) for all transactions in a block
0x47b760
string
random hexadecimal number used in block computation
0x0
string
genesis block creation date (hexadecimal)
0x0
Array
array of accounts to prefund and store code
object
supported forks and corresponding block number
object
Proof of Work consensus configuration
object
Proof of Authority consensus configuration
object
IBFT2 consensus configuration
mainnet
1
ropsten
3
rinkeby
4
goerli
5
kotti
6
ethereum classic
61
Mordor
63
development
2018
homestead
number
Homestead fork activation block number
dao
number
DAO fork activation block number
eip150
number
eip150 fork activation block number
eip155
number
eip155 fork activation block number
eip158
number
eip158 fork activation block number
byzantium
number
Byzantium fork activation block number
constantinople
number
Constantipole fork activation block number
petersburg
number
Petersburg fork activation block number
istanbul
number
Istanbul fork activation block number
muirglacier
number
Muir Glacier fork activation block number
berlin
number
Berlin fork activation block number
london
number
London fork activation block number
arrowGlacier
number
Arrow Glacier fork activation block number
address
string
ethereum address
balance
string
account balance in hexadecimal
code
string
bytecode in hexadecimal
storage
map
key is the storage location in hexadecimal, and value in hexadecimal is the storage value
fixedDifficulty
number
fixed difficulty used in block computation
blockPeriod
number
block time in seconds
15
epochLength
number
number of blocks after which to reset all votes
1000
signers
Array
array of ethereum addresses
blockPeriod
number
block time in seconds
15
epochLength
number
number of blocks after which to reset all votes
1000
validators
array
array of ethereum addresses
requestTimeout
number
timeout for each consensus round in seconds
10
messageQueueLimit
number
message queue limit
1000
duplicateMessageLimit
number
duplicate messages limit
100
futureMessagesLimit
number
future messages buffer limit
1000
futureMessagesMaxDistance
number
maximum height from current chain height for buffering future messages
10