jmeter-operator
jmeter-operator copied to clipboard
InfluxDB not starting on OpenShift due to permission error
I'm following the README trying to get everything set up on Openshift, however when creating the deployment based on the jmeter-deploy.yaml, the InfluxDB container goes into a crashloop due to a permissions error
ts=2019-06-21T05:50:01.973379Z lvl=info msg="InfluxDB starting" log_id=0GA9CAyG000 version=1.7.6 branch=1.7 commit=01c8dd416270f424ab0c40f9291e269ac6921964
ts=2019-06-21T05:50:01.973459Z lvl=info msg="Go runtime" log_id=0GA9CAyG000 version=go1.11 maxprocs=8
run: create server: mkdir all: mkdir /var/lib/influxdb/meta: permission denied
I presume that this is because OpenShift runs all containers as a non root user by default. Does anyone have experience setting this up on OpenShift and have a hint on what would be the most elegant way to solve this?
There is a special version for OpenShift here (without the operator), which worked for me on OpenShift 3.5 and 3.9: https://github.com/kubernauts/jmeter-kubernetes/tree/master/openshift