How to run client node via your kubernetes cluster
Minimum required kubernetes version > 1.18.0 [Helm] (https://helm.sh/docs/intro/install/) required
Fullnode configuration
Network ID
To connect your node to a specific network, set the network ID in the global configuration:
global:
network: "35441"
Interfaces Configuration
Customize the interfaces your node will use by updating the following section in the fullnode.yaml file:
api: "net,web3,eth,shh,txpool,debug,clique,govPub,indexer"
Q-Client Version
To use a specific version of the Q-client, modify the image tag as shown below:
image:
tag: v1.3.9
Deploy to cluster
Once you have made the necessary modifications, deploy the fullnode to your cluster using the following command. Be sure to replace
Rootnode and validator configuration
Private key configuration
Creating a keyfile for a fullnode follows the same process as for a validator. Use the following command to generate a new account:
docker run --entrypoint="" --rm -v $PWD:/data -it qblockchain/q-client:v1.3.9 geth account new --datadir=/data --password=/data/keystore/pwd.txt
After generating the keyfile, incorporate it into your rootnode.yaml or validator.yaml configuration as required:
account: <your miner account without leading 0x>
keystore:
# Generated keystore data
name: <keystore file name>
#data: <keystore data> # mutual exclusive with filePath
filePath: <local keystore file path> # mutual exclusive with data
# Keystore password
password: <password of keystore> # mutual exclusive with passwordPath
#passwordPath: <local password file path> # mutual exclusive with password
Network ID
To connect your node to a specific network, set the network ID in the global configuration:
global:
network: "35441"
To use a specific version of the Q-client, modify the image tag as shown below:
image:
tag: v1.3.9
Deploy to cluster
Once you have made the necessary modifications, deploy the rootnode to your cluster using the following command change rootnode. Be sure to replace