I’m thrilled to release production ready Helm Charts to operate Cardano nodes in Kubernetes. I put a ton of security and container experience to release the best possible Helm charts ever!
Here you go: find it on my Github
Let me know your feedback
Woah. This looks awesome. Nice work @regel. Can’t wait to try out.
Wow great idea it will make stake pool deployment easier. We’ll definitely look at your charts
Unfortunately, I can’t comment (thread locked?) in 47906
I would be interested to get your feedback @tomdx Thomas, in particular in the area of peer-to-peer topology updates. I’ve been incubating something new in this area similar to your initial idea to use on-chain data in order to find registered relays information.
Currently I deploy my cardano services with docker compose. Although I have K8S scripts, I don’t use them because they’d create an unnecessary overhead, especially on the RaspberryPi4. On Helm charts, I can’t comment unfortunately - never used them.
Hey, I’ve done some work here in the past, see my repo.
I’ve also have seen this repo.
I would be open to combining efforts and having a single repository that can be community maintained. SPOs are going to play bigger roles in the upcoming infrastructure updates and I would like to add support for Mithril when it’s ready.
github/cardano-community is sadly a user’s account.
I have github/cardano-spos as an organization. Let me know if anyone is interested!!!
Hey, many thanks for the links. I will have a look
You can submit contributions, they are welcome!
Ps: I can’t move things to an organisation repo at this time. I need a public portfolio of things I’m doing and this Azure contribution falls in this category.
More news I have just updated the Helm Chart to use the Alonzo version (docker image tag 1.30.1).
Wait, there is more. Now you can find a Terraform folder. It makes it super simple to roll-out all required resources at once in Azure!
You can get a full-node deployed in five minutes on the testnet. Final steps, such as loading keys in the Azure Key Vault, and registering the node on the blockchain shall still be done manually for security reasons.
I’m still not pleased with the time (hours!) it takes to sync the Cardano blockchain initially. My next step is to improve this significantly. I want
terraform apply to create a full node from scratch and synced at 100% in less than ten minutes, either on testnet or mainnet.
I ran some tests today, now the whole process takes 11 minutes to get a brand new Cardano cluster running in AKS and fully synced with the (testnet) blockchain.
Very useful for testing and cost-saving since Cardano clusters can now be created in minutes with a single command (
terraform apply -auto-approve), and destroyed in minutes with a single command too!
Updates in the git repo will be coming soon. with a new Helm Chart version.
Output of kubectl after 11 minutes:
$ kubectl exec -ti -n testnet testnet-cardano-relay-0 -c node -- cardano-cli query tip --testnet-magic 1097911063
11 minutes, bring your own keys, and you’re done!
Awesome job, I will give a try soon in this chart, thanks for sharing it.
It now takes 20 minutes to create a brand new full node on mainnet, fully synchronized (epoch 306) with the blockchain. This is the best I manage to get. If there is room for improvement , let me know!
Here is how the 20 minutes are spent:
- 7 minutes in the pod Init container to download and extract a 14GB mainnet tar.gz file (it’s 22 GB uncompressed, so my PV in Azure is 64 GB in size)
- 13 minutes in the cardano-node pod container to open the ‘immutable db’
- few seconds to open the other dbs and then start fetching new blocks from other peers
Stay tuned, I will clean up the code and commit to helm-charts repo tomorrow night
Helm chart (version 0.1.3) and Terraform samples published on Github
Hello all, what will be the next step this year
I let the Cardano community decide. Let me know your thoughts and vote below
- Work on existing / new tools to make key management easier.
- Work on Terraform sub-modules for other Clouds (aws, gcp, …).
- Work on a grafana dashboard (useful resources available and that can be reused?)
- Work on a new
cardano-cli query pools command. Yeah, we actually need this extension in the cardano-node core to make p2p efficient.
- Something else entirely, add a wish below.
Terraform is an interesting twist to extend ease of deploy beyond helm charts. The idea of abstracting away infrastructure requirements for Cardano relay/passive node deployments within cloud services could allow more decentralization and easier management of node pools for dapp development so we aren’t all relying on blockfrost as a bottleneck! It goes hand-in hand with what you were already working on previously. I think anyone who subscribes to the k8s kool-aid or at least knows the basics like me would be able to figure out how to use KMS or other solutions to key management easily enough.
Hey @DinoDude thanks! To follow-up on your feedback:
I opened 93828 to discuss the dApp development process and understand the basic requirements.
I also opened 93830 to start a discussion on decentralisation and the basic stuff that appears to be missing in Cardano. I believe we, as a community, must have high expectations on decentralisation and raise our concerns if things are not headed in the right direction.
Hey everyone, I am glad to finally be able to release the Cardano Helm Charts version 0.3.0 on Github!
Star the repo , share, and sponsor me please!
Changelog for this release:
- Ogmios is now a first-class citizen in the cardano relay node(s).
- P2P improvement, solving item 3 in the previous vote. See discussions in 93830
- CI runs Checkov security scan and solved most warnings.
- Clean up Redis pub/sub and upgrade dependencies.
- Clean up documentation and added useful command lines to installation NOTES
- Tested on mainnet and testnet, both with and without an initial blockchain tar.gz file (see persistence.sourceFile.url documentation).
- I increased the default PVC size for mainnet to 128 GB, since the current blockchain size is 36 GB on mainnet and it is growing fast.