Deploy Public Rinkeby Node
Deploy Rinkeby Node
Rinkeby is a Proof of Authority public Ethereum test network, used by developers to test their dApps.
The following manifest describes an Ethereum node that joins rinkeby network network: rinkeby, and uses Hyperledger Besu client client: besu:
apiVersion: ethereum.kotal.io/v1alpha1
kind: Node
metadata:
name: rinkeby-besu-node
spec:
network: rinkeby
client: besuApply rinkeby.yaml manifest:
kubectl apply -f rinkeby.yamlKotal operator will notice your rinkeby-besu-node and will create all the necessary pods, persistent volumes, services, configmaps, and secrets neccessary.
You can fetch the deployed Ethereum Node using:
kubectl get nodes.ethereumIt will return an output similar to the following:
NAME CLIENT Consensus Network
rinkeby-besu-node besu poa rinkebyFetch Node Logs
Get the pods that has been created by Kotal for the node:
It will return an output similar to the following:
Get the logs of the running node:
Call JSON-RPC Method
Let's update our node by enabling JSON-RPC HTTP server:
Apply the new version of rinkeby.yaml:
Forward localhost:8545 calls to the node pod:
In another terminal window call eth_syncing JSON-RPC method
You will get JSON result similar to the following:
Finally you can delete the node by:
Kubernetes garbage collector will delete all the resources that has been created by Kotal Ethereum Node controller.
Last updated
Was this helpful?