Comments (2)
I would recommend to classify this a bug, since the helm chart is not properly working on EKS or GKE in persistent mode.
How to reproduce the error
helm repo add node-red https://schwarzit.github.io/node-red-chart/
helm repo update
helm upgrade --install node-red-test node-red/node-red -f values.yml --namespace dev --version 0.3.2
While the values.yml is defined as follows:
replicaCount: 1
env:
- name: "TZ"
value: "UTC"
- name: "NODE_RED_ENABLE_SAFE_MODE"
value: "false"
- name: "NODE_RED_ENABLE_PROJECTS"
value: "false"
- name: "FLOWS"
value: "flows.json"
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 10Gi
ingress:
enabled: false
resources:
limits:
cpu: 100m
memory: 256Mi
service:
type: NodePort
port: 1880
Current behaviour
> [email protected] start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
internal/fs/utils.js:332
throw err;
^
Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js'
at Object.copyFileSync (fs.js:2061:3)
at copyFile (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:70:6)
at onFile (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:56:25)
at getStats (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:48:44)
at handleFilterAndCopy (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:33:10)
at Object.copySync (/usr/src/node-red/node_modules/fs-extra/lib/copy-sync/copy-sync.js:26:10)
at Object.<anonymous> (/usr/src/node-red/node_modules/node-red/red.js:125:20)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32) {
errno: -13,
syscall: 'copyfile',
code: 'EACCES',
path: '/usr/src/node-red/node_modules/node-red/settings.js',
dest: '/data/settings.js'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
Expected behaviour
The service is running and will not be killed every time.
from node-red-chart.
done, thx again @Langhalsdino for the contribution!
from node-red-chart.
Related Issues (20)
- Rollback chart to version 0.7.0
- initContainer breaking access to repositories when using Projects HOT 2
- additional pod labels HOT 5
- Update node-red to 3.0 HOT 1
- Missing curl in sidecar image HOT 4
- Is HA possible? HOT 3
- npm installs fail if hardlinks not supported on file system HOT 2
- npm install from values file HOT 7
- persistence: Keep pvc when uninstalling helm chart HOT 6
- Flow_refresh.sh Script failed in Sidecar Container HOT 6
- Readiness for built-in https scheme support HOT 1
- Sidecar API: ApiException when calling kubernetes HOT 4
- helmfile: Failed to render chart HOT 3
- Implement computed annotations for HOT 4
- Nodered Projects Feature + flow_refresh sidecar HOT 3
- Error when enabling certificate and rendering templates HOT 3
- Cannot GET /metrics HOT 1
- Persisence-related chart values not being respected HOT 2
- Make it possible to disable creating role/rolebinding
- PermissonError on Config Map Refresh in SideCar Container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-chart.