node-red

by k8s On Lab

Helm chartv1.2.3App 5.0.10Apache-2.0Verified publisher

Node-Red helmchart, based on nodered image. A nice web ui flow tool

About this chart

node-red

Node-Red helmchart, based on nodered image. A nice web ui flow tool

Homepage: https://nodered.org/

Install

You can install this chart from the classic Helm repository or from OCI in GHCR.

Helm repository

helm repo add publiccharts https://charts.ar80.eu
helm repo update
helm install my-release publiccharts/node-red

OCI registry (GHCR)

helm registry login ghcr.io
helm install my-release oci://ghcr.io/k8sonlab/publiccharts/node-red --version <chart-version>

Maintainers

NameEmailUrl
varet80https://github.com/varet80

Source Code

Values

KeyTypeDefaultDescription
deploymentStrategystring""Deployment strategy used to replace old Pods with new ones. Defaults to RollingUpdate.
image.registrystring"docker.io"Registry for the container image.
image.repositorystring"nodered/node-red"Repository for the container image.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.tagstring""Image tag to pull. Defaults to Chart.appVersion.
rbac.enabledbooltrue
rbac.createClusterRoleboolfalseCreate a ClusterRole for the Node-RED pod. Defaults to false.
imagePullSecretsstring""Additional image pull secrets.
nameOverridestring""Override the release name for the chart.
fullnameOverridestring""Fully override the generated name.
npmrc.enabledboolfalseEnable custom npmrc configuration.
npmrc.registrystring"https://registry.npmjs.org"Registry to use for npm packages.
npmrc.contentstring"# Custom npmrc config\n"Custom npmrc content to add.
envlist[]Additional environment variables for Node-RED. See the Node-RED documentation for supported values.
projectModeobject{"enabled":false}Enable Node-RED project mode for Git integration and project management. Note: Project mode requires write access to the /data directory and may require additional security context adjustments depending on your cluster's policies.
envFromlist[]
serviceAccount.createbooltrueCreate a service account for the workload.
serviceAccount.annotationsobject{}Additional annotations for the service account.
serviceAccount.namestring""Name of the service account to use.
podAnnotationsobject{}Additional annotations for the pod.
deploymentAnnotationsobject{}Additional annotations for the deployment.
podSecurityContextobject{"fsGroup":1000,"runAsUser":1000}Pod security context for the workload. See values.yaml.
podSecurityContext.fsGroupint1000File system group for the pod. Defaults to 1000.
podSecurityContext.runAsUserint1000User ID for the pod. Defaults to 1000.
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":false,"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}}Security context for the container. See values.yaml.
service.typestring"ClusterIP"Kubernetes service type.
service.portint1880Port exposed by the service.
service.annotationsobject{}Annotations for the service.
metrics.enabledboolfalseEnable the metrics service.
metrics.pathstring"/metrics"
metrics.serviceMonitor.enabledboolfalseEnable a Prometheus ServiceMonitor.
metrics.serviceMonitor.basicAuthobject{}Basic auth configuration for the ServiceMonitor endpoint.
metrics.serviceMonitor.intervalstring"30s"Interval between Prometheus scrapes.
metrics.serviceMonitor.relabelingslist[]Relabeling rules to apply to scraped samples before they are ingested.
metrics.serviceMonitor.metricRelabelingslist[]Metric relabeling rules to apply before ingestion.
metrics.serviceMonitor.selectorobject{}Selector used by the ServiceMonitor.
metrics.serviceMonitor.namespacestring""Namespace for the ServiceMonitor.
metrics.serviceMonitor.additionalLabelsobject{}Additional labels for the ServiceMonitor.
persistence.enabledboolfalseEnable persistent storage for Node-RED data.
persistence.accessModestring"ReadWriteOnce"Access mode for the persistent volume claim.
persistence.sizestring"5Gi"Size of the persistent volume claim.
persistence.keepPVCboolfalseRetain the created PVC when uninstalling the chart. Defaults to false.
initContainerslist[]Init containers to run before the application container starts.
ingress.enabledboolfalseEnable the ingress resource.
ingress.classNamestring""Ingress controller class to use.
ingress.annotationsobject{}Additional ingress annotations.
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0]object{"path":"/","pathType":"ImplementationSpecific"}Base path for the ingress rule.
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"Path type for the ingress rule.
ingress.tlslist[]TLS configuration for the ingress.
httpRoute.enabledboolfalseEnable an HTTPRoute resource for the server.
httpRoute.annotationsobject{}Additional annotations for the HTTPRoute.
httpRoute.parentRefslist[]Parent references for Gateway API attachment.
httpRoute.hostnameslist[]Hostnames exposed by the HTTPRoute.
httpRoute.ruleslist[{"backendRefs":[],"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]Rules for forwarding traffic. If backendRefs is empty, traffic is sent to this chart's service.
startupProbeobject{"httpGet":{"path":"/","port":"http"}}Startup probe for the deployment.
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}Liveness probe for the deployment.
readinessProbeobject{"httpGet":{"path":"/","port":"http"}}Readiness probe for the deployment.
resourcesobject{"limits":{"memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}CPU and memory requests and limits for the pod.
nodeSelectorobject{}Node selector labels for pod assignment.
tolerationslist[]Tolerations for pod assignment.
terminationGracePeriodSecondsint30Grace period before terminating the pod. This value is explicitly set to the Kubernetes default. https://github.com/kubernetes/api/blob/d4b94f478bb2e6467873657dd7b4e1b0ac8351be/core/v1/types.go#L3114-L3118
affinityobject{}Affinity rules for pod scheduling.
extraVolumesstringnilAdditional volumes to mount into the pod.
extraVolumeMountsstringnilAdditional volume mounts for the Node-RED pod.
settingsobject{}Configuration for the Node-RED settings file. Defaults to {}.
podLabelsobject{}Additional labels to add to the pod. Defaults to {}.
priorityClassNamestring""Priority class name for the pod. Defaults to empty.
extraSidecarslist[]Additional sidecars to run alongside the Node-RED container. Defaults to [].
clusterRoleRules.enabledboolfalseEnable custom rules for the application controller's ClusterRole resource. Defaults to false.
clusterRoleRules.ruleslist[]List of custom rules for the application controller's ClusterRole resource. Defaults to [].
sidecar.enabledboolfalseEnable the sidecar.
sidecar.env.sleep_time_sidecarstring"5s"Sleep interval for the refresh script.
sidecar.env.methodstring"watch"If METHOD is set to LIST, the sidecar lists ConfigMaps and Secrets and exits. With SLEEP, it lists all ConfigMaps and Secrets, waits for the configured duration, and then repeats. Any other value keeps watching for changes.
sidecar.env.labelstring"node-red-settings"Label used to filter watched resources.
sidecar.env.label_valuestring"1"Label value used to filter watched resources. Leave empty to match any value.
sidecar.env.scriptstring"flow_refresh.py"Absolute path to the shell script to execute after a ConfigMap is reloaded.
sidecar.env.usernamestring""
sidecar.env.passwordstring""Password as a key/value pair.
sidecar.env.passwordFromExistingSecretobject{}Password from an existing secret.
sidecar.env.skip_initboolfalseSkip the initial request to REQ_URL when using watch mode (v2.1.0+).
sidecar.env.urlstring""Optional custom target URL for the sidecar. If empty, the in-cluster service URL is used automatically.
sidecar.extraNodeModuleslist[]Extra Node modules to install from the sidecar script.
sidecar.extraEnvlist[]Extra environment variables for the sidecar.
sidecar.resourcesobject{}Resources for the sidecar.
sidecar.securityContextobject{}Security context for the sidecar.
sidecar.livenessProbeobject{"httpGet":{"path":"/healthz","port":8080},"initialDelaySeconds":5,"periodSeconds":10}Liveness probe for the sidecar. k8s-sidecar v2+ exposes /healthz on port 8080.
sidecar.readinessProbeobject{"httpGet":{"path":"/healthz","port":8080},"initialDelaySeconds":5,"periodSeconds":10}Readiness probe for the sidecar. Reports ready after the initial sync completes.
sidecar.image.registrystring"quay.io"Registry for the sidecar image.
sidecar.image.repositorystring"kiwigrid/k8s-sidecar"Repository for the sidecar image.
sidecar.image.tagstring"2.14.3"Image tag to pull. Defaults to 2.5.0.
sidecar.image.pullPolicystring"IfNotPresent"Image pull policy. Defaults to IfNotPresent.
sidecar.volumeMountslist[]Extra volume mounts for the sidecar.

Deploy node-red with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has node-red on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnode-red is pinned at v1.2.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply