-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Promtail] No logs being detected for pods #2611
Comments
I haven't managed to find anything that solves the issue at the moment |
@Champ-Goblem I have the same issue too. It seems promtail kubernetes service discovery doesn't work on k3s. But i find the circleci integration test add k3s test #641. So do you have any idea? k3s version: v1.17.5+k3s1 P.S: I deploy prometheus on the same cluster, and it works. |
I fixed this issue by adding a label |
Can you share? |
@czhfe
After:
This is because in the scrape config, under job
which takes the value from label |
I am also having this issue but I have no |
@Champ-Goblem |
I have this issue too. In my case it seems like promtail isn't settings the metrics_path after relabeling. promtail.daemonset.log
|
@justinmchase did you get around this issue? If so, would you be able to explain how? (i know it has been some time since your comment, but worth a shot) |
Describe the bug
Promtail is not collecting logs from containers deployed as
kind: Pod
on both a gke cluster and k3s cluster. I can see the log file being made in/var/log/pods/...
on the node but promtail's logs dont give any indication that its started tailing this file and no logs seem to be recorded.Expected behavior
A clear and concise description of what you expected to happen.
Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: