You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently tested cluster logging as described in http://kubernetes.io/docs/getting-started-guides/logging/ with localkube and unfortunately I couldn't make fluentd collect any log or send it.
After some debugging, I have realized that my fluentd pods were unable to find any kubernetes related log under /var/log which kubelet/localkube is expected to write kubernetes(/var/log/*.log) and its pods' logs(/var/log/containers/*.log) to.
I believe that we can make localkube mount /var/log to allow fluentd collect logs from localkube/kubelet.
More concretely, with the following change and running localkube via make run-image, I have confirmed that fluentd can do the job:
Has anyone encountered this issue, too?
Could you share your experience e.g. how you had resolved the issue (w/ the same fix as I had done or another way?)
The text was updated successfully, but these errors were encountered:
mumoshu
pushed a commit
to mumoshu/localkube
that referenced
this issue
May 31, 2016
Is this built into minikube now? Can I automatically populate /var/log/containers/*.log with the latest version of minikube?
Minikube has been fantastic so far but this is the only thing that I've not been able to figure out. I'm using the vagrant provider with two VMs now in the meantime, which uses considerably more resources than minikube.
Hi, thanks for sharing this great OSS :)
I have recently tested cluster logging as described in http://kubernetes.io/docs/getting-started-guides/logging/ with localkube and unfortunately I couldn't make fluentd collect any log or send it.
After some debugging, I have realized that my fluentd pods were unable to find any kubernetes related log under
/var/log
which kubelet/localkube is expected to write kubernetes(/var/log/*.log
) and its pods' logs(/var/log/containers/*.log
) to.I believe that we can make localkube mount
/var/log
to allow fluentd collect logs from localkube/kubelet.More concretely, with the following change and running
localkube
viamake run-image
, I have confirmed that fluentd can do the job:Has anyone encountered this issue, too?
Could you share your experience e.g. how you had resolved the issue (w/ the same fix as I had done or another way?)
The text was updated successfully, but these errors were encountered: