Files
deprecated-helm-charts/stable/node-red
Jeff BillimekandKubernetes Prow Robot cf701595fc use a default values for the flows setting (#10765)
details: if the `flows` setting is left unset, node-red will default the
files it creates for new flows to match the hostname of the container
it's running under. This hostname is dynamic and changes with a pod
restart. As a result changes made and persisted will be lost.

By defaulting the `flows` value to some static value, we ensure that the
changes will persist between pod restarts (assuming using persistent
storage)

Signed-off-by: Jeff Billimek <jeff@billimek.com>
2019-01-22 22:21:50 -08:00
..

Node-RED

Flow-based programming for the Internet of Things

This chart is not maintained by the Node-RED project and any issues with the chart should be raised here

TL;DR;

helm install stable/node-red

Introduction

This code is adopted from the official node-red docker image which runs the Node-RED application

Installing the Chart

To install the chart with the release name my-release:

helm install --name my-release stable/node-red

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release --purge

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following tables lists the configurable parameters of the Sentry chart and their default values.

Parameter Description Default
image.repository node-red image nodered/node-red-docker
image.tag node-red image tag 0.19.4-v8
image.pullPolicy node-red image pull policy IfNotPresent
flows Default flows configuration flows.json
nodeOptions Node.js runtime arguments ``
timezone Default timezone UTC
service.type Kubernetes service type for the GUI ClusterIP
service.port Kubernetes port where the GUI is exposed 1880
service.nodePort Kubernetes nodePort where the GUI is exposed ``
service.annotations Service annotations for the GUI {}
service.labels Custom labels {}
service.loadBalancerIP Loadbalance IP for the GUI {}
service.loadBalancerSourceRanges List of IP CIDRs allowed access to load balancer (if supported) None
service.externalTrafficPolicy Set the externalTrafficPolicy in the Service to either Cluster or Local Cluster
ingress.enabled Enables Ingress false
ingress.annotations Ingress annotations {}
ingress.path Ingress path /
ingress.hosts Ingress accepted hostnames chart-example.local
ingress.tls Ingress TLS configuration []
persistence.enabled Use persistent volume to store data false
persistence.size Size of persistent volume claim 5Gi
persistence.existingClaim Use an existing PVC to persist data nil
persistence.storageClass Type of persistent volume claim -
persistence.accessModes Persistence access modes ReadWriteOnce
resources CPU/Memory resource requests/limits {}
nodeSelector Node labels for pod assignment {}
tolerations Toleration labels for pod assignment []
affinity Affinity settings for pod assignment {}

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install --name my-release \
  --set config.timezone="America/New_York" \
    stable/node-red

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install --name my-release -f values.yaml stable/node-red

Read through the values.yaml file. It has several commented out suggested values.