LND is an implementation of a Lightning Network Node. The Lightning Network is a “Layer 2” payment protocol that operates on top of a blockchain-based cryptocurrency. It features a peer-to-peer system for making micropayments of cryptocurrency through a network of bidirectional payment channels without delegating custody of funds.
This chart bootstraps a single LND node. The default docker image is taken from BTCPay Server’s dockerhub repository. By default it runs a testnet node using neutrino.
To install the chart with the release name my-release
:
$ helm install --name my-release stable/lnd
This command deploys a testnet instance of lnd on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
After the instance deploys you need to exec into the pod and create a new wallet. It will ask you to create a password that you will need in the next step.
NETWORK=testnet
MY_RELEASE=my-release
kubectl exec -it $(kubectl get pod -l "release=$MY_RELEASE" -o jsonpath='{.items[0].metadata.name}') -- lncli -n $NETWORK create
Now you can enable auto unlock for your wallet. Replace PASSWORD
with your
password:
helm upgrade my-release stable/lnd --set autoUnlock=true --set autoUnlockPassword=PASSWORD
To uninstall/delete the my-release
deployment:
$ helm delete my-release
The following tables list the configurable parameters of the lnd chart and their default values.
Parameter | Description | Default |
---|---|---|
image.repository |
Image source repository name | thesisrobot/lnd |
image.tag |
lnd release tag. |
v0.7.1-beta |
image.pullPolicy |
Image pull policy | IfNotPresent |
internalServices.rpcPort |
RPC Port | 10009 |
externalServices.p2pPort |
P2P Port | 9735 |
persistence.enabled |
Save node state | true |
persistence.accessMode |
ReadWriteOnce or ReadOnly | ReadWriteOnce |
persistence.size |
Size of persistent volume claim | 5Gi |
resources |
CPU/Memory resource requests/limits | {} |
configurationFile |
Config file ConfigMap entry | |
autoUnlock |
Automatically unlock the wallet | false |
autoUnlockPassword |
Password used to unlock the wallet |