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×tamps=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!
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.
Hope that helps!
- Bobby.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.