Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download the helm repo

Code Block
helm repo add node-red https://schwarzit.github.io/node-red-chart/


create namespace

Code Block
kubectl create namespace node-red

...

Code Block
helm repo update


Warning

please use this web link for latest version (https://github.com/SchwarzIT/node-red-chart)



Code Block
helm pull  node-red/node-red --version 0.2024.31 


extract the files

Code Block
 tar tar zxvf node-red-0.2024.31.tgz


cd node-red

Code Block
 cd cd node-red


edit file values.yaml

Code Block
 vi values.yaml


enable the persistence: ture

Code Block
change the values presistent:true
persistence:
  # -- Use persistent volume to store data
  enabled: true


enable the path: /nodered

Code Block
hosts:
    #  Ingress accepted hostnames
    - host: demobot.expertflow.com
      paths:
          # -- The base path
        - path: /nodered


helm install 

Code Block
helm upgrade --install=true --namespace=node-red --values=node-red/values.yaml ef-node-red node-red


change the service type cluster IP to NodePort

Code Block
kubectl -n node-red patch svc ef-node-red -p '{"spec": {"type": "NodePort"}}' 


To access the node-red from the browser

Code Block
 http://192.168.2.84<machine-ip>:<port>