-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied error in the setenv container #175
Comments
You can run the following command
Then modify the path https://github.com/fluent/fluentbit-operator/blob/master/charts/fluentbit-operator/templates/fluentbit-operator-deployment.yaml#L49 ,
|
Hi @wenchajun, Thanks, but my crictl is in the path from the helm-chart:
I think the problem is that it should be run with higher priviledges. |
Could you show me your deployment yaml?
|
|
because your crictl path is different from the origin path,so you can change this to solve this problem |
Done that, do see now:
|
You can delete the pod and run it again. Can you run this command on the command line and see if it returns a result
or
|
Do you want me to use the original deployment from the helm? Where do you want me to exec into a shell? There is no shell available in the fluentbit-operator pod. |
You just need to execute it from the command line, in your local machine |
Hi: With /usr/bin/crictl:
With /usr/local/bin/crictl:
|
Is this the all message? You can delete the fluentbit-operator pod and check the message. |
This is all I see after deleting the pod again
|
I have used helm installation and cannot reproduce your problem. And I think the fluentbit-operator function works properly. If you can, please provide more error information. |
Hi @wenchajun, I have removed the minikube cluster and installed a vm with kubernetes 1.22.3 (kubeadm install). I still have the problem, in the logs of the setenv container I still see:
Is it possible to make the path: /usr/local/bin/crictl configurable in the values.yaml file? |
OK, I will fix it. Do you want to commit a PR to resolve this? |
Hi,
Testing this on a minikube cluster, I do see an error in the setenv container
minikube was started with:
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: