Skip to content
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

Collect Kubernetes Pod Logs in Self-Hosted SigNoz Fail to open file: Permission denied #420

Open
leehungitc opened this issue Mar 27, 2024 · 1 comment
Labels
chart:k8s-infra Issue related to k8s-infra helm chart question Further information is requested

Comments

@leehungitc
Copy link

I follow this guide: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/#steps-to-export-kubernetes-metrics-to-signoz
to collect Kubernets Pod logs and send them to self-host signow. Otel agent pod is running but I check signoz have not received any log. I check logs pod otel agent many error: Failed to open file {"kind": "receiver", "name": "filelog/k8s", "data_type": "logs", "component": "fileconsumer", "error": "open /var/log/pods/argocd_argocd-dex-server-8496698f-bg9tn_9801c57e-bacd-410a-89df-17f77078602c/copyutil/0.log: permission denied"}.
I try set runAsUser: 0 but It doesn't work. Any suggestion?

@grandwizard28
Copy link
Contributor

Hi @leehungitc,
Was this solved?

@grandwizard28 grandwizard28 added chart:k8s-infra Issue related to k8s-infra helm chart question Further information is requested labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart:k8s-infra Issue related to k8s-infra helm chart question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants