@provisioner/node-red
v0.0.17
Published
CodeZero provisioner for node-red
Maintainers
Readme
Node-RED Provisioner
Build
At the root of the c6o node-monorepo:
yarn build --scope=@provisioner/node-redRun from CLI
To run the provisioner, create a traxitt.yaml file, for example:
name: node-red
version: 0.0.1
description: Node-RED provisioner
services:
- node-red:
storage: 2Gi # default 1Gi
projects: false # default falseDrop it into a directory like ~/provisioners/node-red/traxitt.yaml, then execute
czctl provision ~/provisioners/node-redTo test out Node-RED once it's running in a cluster:
kubectl -n node-red-ns port-forward services/node-red 1880:1880Then point your browser to http://localhost:1880
Parameters
| Parameter | Meaning | | --------- | ------- | | storage | PVC storage for flows, and related storage needed by nodes. | projects | when true, enables the Node-RED projects feature. This use for flow development, not running flows |
Server paths
The provisioner module serve method handles HTTP requets for an express server. The serve function supports the following paths:
| Path | Contents |
| --------- | ------- |
| index.js | implementation of <nodered-capacity> for use in the configuration wizard |
