Report this

What is the reason for this report?

Unable to see logs on any pod of my node

Posted on July 3, 2024

Everytime I execute log command to see logs from my pod, I receive: stream logs failed Get…

stream logs failed Get "https://10.108.0.6:10250/containerLogs/pedal-hub-api/pedal-hub-api-6d9885ccd9-9bqmq/pedal-hub-api?f ││ ollow=true&tailLines=100&timestamps=true": EOF for pedal-hub-api/pedal-hub-api-6d9885ccd9-9bqmq (pedal-hub-api)

If I run kubectl logs -f pedal-hub-api-6d9885ccd9-9bqmq --namespace pedal-hub-api I end up seen

Error from server: Get "https://10.108.0.6:10250/containerLogs/pedal-hub-api/pedal-hub-api-6d9885ccd9-9bqmq/pedal-hub-api?follow=true": EOF

I don’t what’s going on. Does someone know anything about it?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

This is quite interesting, if you were to check the node status and the pod status what do you see?

kubectl get nodes
kubectl get pods -n pedal-hub-api

One thing that you should do here is to describe the pod in order to get some more detailed information about the pod and mainly check the events and status:

kubectl describe pod pedal-hub-api-6d9885ccd9-9bqmq -n pedal-hub-api

Feel free to share the output here after removing any sensitive information!

Also, on another note, have you tried restarting the pod to see if that helps?

kubectl delete pod pedal-hub-api-6d9885ccd9-9bqmq -n pedal-hub-api

If you are still seeing the problem, since this is a managed service, DigitalOcean might be able to provide support for this issue.

https://www.digitalocean.com/support/

Hope that helps!

- Bobby.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.