node-red

by wittdennis

Helm chartv2.1.5App 5.0.10MITVerified publisher

A Helm chart for node-red. Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

About this chart

node-red

A Helm chart for node-red. Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.

It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.

Maintainers

NameEmailUrl
Dennis Witthttps://github.com/wittdennis

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
envobject{}Additional env values to pass to the container
fullnameOverridestring""
imageobject{"pullPolicy":"IfNotPresent","repository":"nodered/node-red","tag":""}This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image.pullPolicystring"IfNotPresent"This sets the pull policy for images.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
livenessProbeobject{"httpGet":{"path":"/","port":"http"}}This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
metricsobject{"enabled":false,"path":"/metrics","serviceMonitor":{"additionalLabels":{},"basicAuth":{},"enabled":false,"interval":"30s","metricRelabelings":[],"namespace":"","relabelings":[],"selector":{}}}Setting to control metrics collection
metrics.enabledboolfalseEnable metrics service for node-red (requires: https://flows.nodered.org/node/node-red-contrib-prometheus-exporter)
metrics.serviceMonitor.additionalLabelsobject{}Prometheus ServiceMonitor labels
metrics.serviceMonitor.basicAuthobject{}Prometheus basicAuth configuration for ServiceMonitor endpoint
metrics.serviceMonitor.enabledboolfalseEnable a prometheus ServiceMonitor
metrics.serviceMonitor.intervalstring"30s"Prometheus ServiceMonitor interval
metrics.serviceMonitor.metricRelabelingslist[]Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metrics.serviceMonitor.namespacestring""Prometheus ServiceMonitor namespace
metrics.serviceMonitor.relabelingslist[]Prometheus [RelabelConfigs] to apply to samples before scraping
metrics.serviceMonitor.selectorobject{}Prometheus ServiceMonitor selector
nameOverridestring""This is to override the chart name.
nodeSelectorobject{}
persistenceobject{"className":null,"size":"5Gi"}Settings for storage
persistence.classNamestringnilStorage class to use for persistent storage. If left empty default storage class will be used.
persistence.sizestring"5Gi"Size for the persistent volume claim.
podAnnotationsobject{}This is for setting Kubernetes Annotations to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}This is for setting Kubernetes Labels to a Pod. For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContext.fsGroupint1000
podSecurityContext.fsGroupChangePolicystring"OnRootMismatch"
podSecurityContext.runAsGroupint1000
podSecurityContext.runAsNonRootbooltrue
podSecurityContext.runAsUserint1000
podSecurityContext.seccompProfile.typestring"RuntimeDefault"
readinessProbe.httpGet.pathstring"/"
readinessProbe.httpGet.portstring"http"
replicaCountint1This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
resourcesobject{}
routeobject{"additionalRules":{},"annotations":{},"enabled":false,"filters":[],"hostnames":[],"labels":{},"matches":[{"path":{"type":"PathPrefix","value":"/"}}],"parentRefs":[]}This block is for setting up gateway api http route. More information can be found here: https://gateway-api.sigs.k8s.io/
route.additionalRulesobject{}Any custom rule you want to specify
route.annotationsobject{}Additional annotations for the HTTPRoute
route.enabledboolfalseFlag to control if route should be created
route.filterslist[]Filter that should be added to the default rule
route.hostnameslist[]Hostnames of the HTTPRoute
route.labelsobject{}Additional labels for the HTTPRoute
route.matcheslist[{"path":{"type":"PathPrefix","value":"/"}}]Matches for the default rule
route.parentRefslist[]Gateway reference that the HTTPRoute should bind against
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsGroupint1000
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
securityContext.seccompProfile.typestring"RuntimeDefault"
serviceobject{"port":80,"type":"ClusterIP"}This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service.portint80This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
service.typestring"ClusterIP"This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
serviceAccountobject{"annotations":{},"automount":false,"create":true,"name":""}This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
tolerationslist[]
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
volumeslist[]Additional volumes on the output Deployment definition.

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 v2.1.5 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