This message was deleted.
s
This message was deleted.
a
permission issues... I think it needs sudo permissions
@User give it a look when you get some time.
p
I looked into this issue. It was caused by official default configuration of Nginx image itself that runs nginx with root user, which works fine in other cloud provider but openshift.
s
Hi Prashant, can you please suggest any work around to resolve this issue.
p
I am building frontend image with non-root nginx. I believe this should work. can you test out the custom built image
coolboi567/frontend:0.5.4-nonroot
with the following command and let me know if frontend works?
Copy code
helm -n platform install signoz deploy/kubernetes/platform --set frontend.image.repository=coolboi567/frontend --set frontend.image.tag=0.5.4-nonroot
Note: for the existing cluster, you can replace
install
with
upgrade
.
s
okay sure
p
let me know if this works. We shall make the particular version of frontend available under signoz docker repository for your usecase.
s
Hi Prashant, This frontend image is also giving same error. Can you please suggest any other solution.
p
oh, that's unfortunate. I had created the docker image by following the instructions from Official Nginx for running nginx as non-root user. And it worked fine on my machine. https://hub.docker.com/_/nginx#running-nginx-as-a-non-root-user
s
okay
p
Now, alternatively we can use the
nginxinc/nginx-unprivileged
or
bitnami/nginx
base image while building frontend docker image. https://hub.docker.com/r/nginxinc/nginx-unprivileged https://hub.docker.com/r/bitnami/nginx
we will need to replace
nginx:1.18-alpine
to
nginxinc/nginx-privileged
in the frontend/Dockerfile and build again. Dockerfile: https://gist.githubusercontent.com/raw/34dcad73f165c15ddc9d4b0aae4e85ec
@User can you pull same frontend image again and try again? This time I built it using
nginxinc/nginx-unprivileged
base image.
Also letting you know that we will start working on making changes to helm chart to officially support SigNoz on OpenShift. 🙂
117 Views