Deploying Node-RED using Helm
Helm describes itself as the package manager for Kubernetes. It allows us to quickly install and upgrade an Application including all it's dependencies.
In this guide we'll deploy an instance of node-red,
an awesome automation tool you can easily host yourself.
There are literally thousands of Helm charts you can easily deploy to any Subkube project, we've added a list at the bottom of the page for some awesome examples.
Prerequisites
- A Namespace in a Subkube Project
- Helm (we'll install Helm as part of this guide)
Steps
Get Helm
Installing Helm is easy as:
1 |
|
Or using Homebrew:
1 |
|
Or on windows using Chocolatey:
1 |
|
Add Repo
Helm uses Repositories to store so-called Charts. Many Chart developers maintain their own Repository, which you need to add to your Helm configuration before you will be able to use their charts.
For node-red, a very comprehensive chart is maintained by k8s@home, which we will be using in our guide. You can easily add their repo using the following commands:
1 2 |
|
First Install
We can install a chart using the helm install
command, which takes the chart
to install as an argument. Helm deploys applications in so-called Releases,
for which you will need to provide a name as an argument. You'll also need to
supply a namespace using the -n
toggle.
1 2 3 4 5 6 7 8 9 10 11 12 |
|
Using a Values file
Upgrading
Further Reading
- Artifact Hub
- HASS, Node-red, homebridge
- Sonarr, Radarr, etc, if that's your kinda thing