Change node image
To change the image used for bitcoind, CLN or LND:
bitcoind
values:
- image:
repository: lightninglabs/bitcoin-core
tag: 31-alpine
cln
values:
- image:
repository: elementsproject/lightningd
tag: v26.06.1
lnd
values:
- image:
repository: lightninglabs/lnd
tag: v0.21.0-beta
Full example:
network.yaml
repositories:
- name: scalinglightning
url: https://scalinglightning.com/charts
releases:
- name: bitcoind
namespace: sl
chart: scalinglightning/bitcoind
values:
- image:
repository: lightninglabs/bitcoin-core
tag: 31-alpine
- name: alice
namespace: sl
chart: scalinglightning/cln
values:
- image:
repository: elementsproject/lightningd
tag: v26.06.1
- name: bob
namespace: sl
chart: scalinglightning/lnd
values:
- image:
repository: lightninglabs/lnd
tag: v0.21.0-beta
Upgrade an existing node
To update an existing node to a new version you can call the CLI or Library command create again with the same network.yaml file but with the image value updated to the new value.
NOTE: When changing the image repository or tag, a new pod will be created and unless volume was specified in the configuration all data for that node will be lost.
NOTE: If changing bitcoind node to a new version without a volume all other lightning nodes will need to be destroyed and recreated as they will reference a blockchain that nolonger exists.