[BUG] dashboard don't show the task logs
Closed this issue · 3 comments
What happened:
I run example jobs(tf_job_mnist.yaml),dashboard don't show the logs, user logs is blank, and system logs only show little information. I check the pod logs, it's completed.
user logs:
system logs:
pod logs:
What you expected to happen:
show the pod's logs on the dashboard.
How to reproduce it:
submit jobs using 'kubectl apply -f tf_job_mnist.yaml'
Anything else we need to know?:
Environment:
- KubeDL version: latest
- Kubernetes version (use
kubectl version
): 1.20 - OS (e.g:
cat /etc/os-release
): - Kernel (e.g.
uname -a
): - Install tools:
- Others:
@CaRRotOne hi, did you click User Logs
a not-short period after pod completed? Dashboard retrieves pod logs from apiserver and it will no longer exists once rootfs of container was reclaimed.
@CaRRotOne hi, did you click
User Logs
a not-short period after pod completed? Dashboard retrieves pod logs from apiserver and it will no longer exists once rootfs of container was reclaimed.
@SimonCqk the User Logs doesn't show anything neither pod running nor pod completed.
@CaRRotOne as we offline discussed, it is caused by pods/log
rbac configuration and has been fixed.