Configs for running BitCoin full node in Kubernetes
Useful commands:
Deployment
kubectl create -f manifests/<FILE_NAME>.yml
kubectl delete -f manifests/<FILE_NAME>.yml
General
kubectl get all -n bitcoin
kubectl get pvc -n bitcoin
kubectl get pv
Specific
export PODNAME=$(kubectl get pods -o wide -n bitcoin | grep bitcoin | awk '{print $1}')
kubectl describe pod -n bitcoin $PODNAME
kubectl exec -it -n bitcoin $PODNAME -- bash
-
gosu bitcoin bash
-
bitcoin-cli getmininginfo
-
bitcoin-cli getwalletinfo
(NOTE: need to create as wallets are not created by default) -
bitcoin-cli listreceivedbyaddress 1 true